Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.0008815/0.0008815, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0009589/0.0009589, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 158.6 MB / 186 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1499/0.1499, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.399e-05, allocations: 6.25 kB / 348.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.0023/0.002324, allocations: 1.715 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003732, allocations: 1.517 MB / 351.4 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.003818, allocations: 3.938 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.004144, allocations: 35.83 kB / 351.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.004398, allocations: 71.56 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.004644, allocations: 83.7 kB / 351.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.0048, allocations: 103.7 kB / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004908, allocations: 8.234 kB / 351.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.004995, allocations: 47.83 kB / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.005096, allocations: 31.84 kB / 351.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.005114, allocations: 4 kB / 351.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.005228, allocations: 63.91 kB / 351.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.005275, allocations: 23.91 kB / 351.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.005306, allocations: 19.94 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.005474, allocations: 115.5 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005476, allocations: 0 / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005478, allocations: 0 / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005482, allocations: 0 / 352 MB, free: 5.227 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003672/0.00585, allocations: 435.9 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.00589, allocations: 8.031 kB / 352.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.005929, allocations: 16.89 kB / 352.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.006067, allocations: 136.5 kB / 352.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.006081, allocations: 384 / 352.6 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.006098, allocations: 8.375 kB / 352.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.006216, allocations: 111.9 kB / 352.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.006224, allocations: 7.875 kB / 352.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.006231, allocations: 0 / 352.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.006235, allocations: 4 kB / 352.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.006259, allocations: 11.97 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.006489, allocations: 256.5 kB / 353 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.006572, allocations: 47.11 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.006593, allocations: 23.67 kB / 353.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.006608, allocations: 8 kB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.313e-05/0.006691, allocations: 68.97 kB / 353.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.006692, allocations: 0 / 353.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000343/0.007035, allocations: 133.4 kB / 353.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.007062, allocations: 77.11 kB / 353.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.007152, allocations: 208.9 kB / 353.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.007162, allocations: 29.7 kB / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.007198, allocations: 142.8 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.007221, allocations: 27.75 kB / 353.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.007253, allocations: 35.34 kB / 353.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.007307, allocations: 0.4962 MB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.007324, allocations: 8 kB / 354.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.007358, allocations: 68.69 kB / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.007397, allocations: 39.36 kB / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007399, allocations: 0 / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001044/0.007503, allocations: 93.56 kB / 354.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.007517, allocations: 8 kB / 354.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.007522, allocations: 0 / 354.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.007533, allocations: 0 / 354.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.007598, allocations: 16.06 kB / 354.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.007601, allocations: 4 kB / 354.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.007632, allocations: 7.984 kB / 354.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.007638, allocations: 4 kB / 354.5 MB, free: 2.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.11e-05/0.007699, allocations: 160.5 kB / 354.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.007724, allocations: 15.89 kB / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.007878, allocations: 98.38 kB / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007881, allocations: 0 / 354.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.007883, allocations: 4 kB / 354.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.007887, allocations: 0 / 354.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.008127, allocations: 369.5 kB / 355.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.00813, allocations: 384 / 355.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/0.008159, allocations: 11.98 kB / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.008162, allocations: 0 / 355.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.00817, allocations: 8 kB / 355.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.008172, allocations: 0 / 355.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008174, allocations: 0 / 355.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.008282, allocations: 247.4 kB / 355.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.008293, allocations: 11.95 kB / 355.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.008312, allocations: 7.984 kB / 355.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.387e-05/0.008356, allocations: 4.031 kB / 355.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.00839, allocations: 11.98 kB / 355.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.008403, allocations: 4 kB / 355.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.008441, allocations: 146.8 kB / 355.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008441, allocations: 0 / 355.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.008631, allocations: 35.92 kB / 355.7 MB, free: 1.293 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000957/0.009588, allocations: 499.7 kB / 356.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.009699, allocations: 43.61 kB / 356.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.009701, allocations: 0 / 356.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.009735, allocations: 31.67 kB / 356.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.009975, allocations: 35.77 kB / 356.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.01028, allocations: 197 kB / 356.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.01031, allocations: 71.36 kB / 356.5 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.01035, allocations: 16.81 kB / 356.5 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.01042, allocations: 98.11 kB / 356.6 MB, free: 368 kB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01042, allocations: 0 / 356.6 MB, free: 368 kB / 282.7 MB Notification: Performance of Templates: time 0.004773/0.0152, allocations: 2.323 MB / 359 MB, free: 14.05 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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: 3.2493543582968414]