Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 169.6 kB / 24.91 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.272/0.272, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.846e-05, allocations: 7.188 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002621/0.00265, allocations: 1.725 MB / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.003582, allocations: 0.5491 MB / 325.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.003655, allocations: 0 / 325.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.003958, allocations: 95.67 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.004219, allocations: 111.5 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004476, allocations: 95.62 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.004656, allocations: 96.44 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004759, allocations: 23.91 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.004838, allocations: 63.75 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.474e-05/0.004932, allocations: 43.89 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.004949, allocations: 4 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.005049, allocations: 51.91 kB / 326.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.005101, allocations: 27.92 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.005133, allocations: 35.84 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.005351, allocations: 99.59 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005353, allocations: 0 / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005355, allocations: 0 / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005358, allocations: 3.938 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003456/0.005704, allocations: 337.3 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.005746, allocations: 8.031 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.005779, allocations: 12.92 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.005931, allocations: 149.5 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.005941, allocations: 4.375 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.005962, allocations: 8.375 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.006062, allocations: 75.52 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.006072, allocations: 192 / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.00608, allocations: 4.125 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006086, allocations: 4 kB / 326.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.006118, allocations: 13.08 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.006364, allocations: 202.9 kB / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.006421, allocations: 42.48 kB / 327.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.006439, allocations: 20.84 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.006457, allocations: 3.938 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.006475, allocations: 38.56 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.006476, allocations: 0 / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004652/0.006941, allocations: 189.4 kB / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.006966, allocations: 55.41 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.007081, allocations: 193.1 kB / 327.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.007093, allocations: 25.7 kB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.007129, allocations: 100.1 kB / 327.8 MB, free: 5.012 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.007163, allocations: 47.53 kB / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.007195, allocations: 29.7 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.007389, allocations: 334.7 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.007407, allocations: 11.98 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.007423, allocations: 12 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.007469, allocations: 42.7 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.00747, allocations: 0 / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.84e-05/0.007558, allocations: 69.61 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.007583, allocations: 11.98 kB / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.00759, allocations: 0 / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007603, allocations: 0 / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.007682, allocations: 23.98 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.007685, allocations: 4.109 kB / 328.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.007707, allocations: 11.94 kB / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.007714, allocations: 0 / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/0.007788, allocations: 128.5 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.007811, allocations: 11.98 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.007956, allocations: 106.4 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007959, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007962, allocations: 4 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.007965, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.00823, allocations: 287.4 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008231, allocations: 0 / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.008283, allocations: 27.92 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008285, allocations: 0 / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.008292, allocations: 8 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.008294, allocations: 0 / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008295, allocations: 0 / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.008406, allocations: 180.2 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.008418, allocations: 11.91 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.008434, allocations: 11.98 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.008467, allocations: 4.031 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.008498, allocations: 11.92 kB / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.008505, allocations: 11.98 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.725e-05/0.008553, allocations: 61.55 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008553, allocations: 3.938 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.008702, allocations: 27.94 kB / 329.2 MB, free: 3.457 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.009975, allocations: 0.5774 MB / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.845e-05/0.01007, allocations: 48.78 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01008, allocations: 0 / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.01011, allocations: 36.77 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.01029, allocations: 23.98 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.01063, allocations: 266.5 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.01067, allocations: 75.33 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.01071, allocations: 12.48 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.01077, allocations: 71.36 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01077, allocations: 0 / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of Templates: time 0.003506/0.01428, allocations: 1.696 MB / 332 MB, free: 0.9297 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.952584855258465]