Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001112/0.001112, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00121/0.00121, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.9529/0.9529, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2242/0.2242, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.096e-05, allocations: 2.969 kB / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001994/0.002005, allocations: 1.827 MB / 325.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.00368, allocations: 1.811 MB / 326.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.003743, allocations: 7.938 kB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.003938, allocations: 55.56 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.004214, allocations: 147.2 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.004358, allocations: 107.6 kB / 327.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.004539, allocations: 211.9 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.004571, allocations: 6.469 kB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.004679, allocations: 115.6 kB / 327.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.004786, allocations: 55.81 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.004803, allocations: 12 kB / 327.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.004935, allocations: 107.9 kB / 327.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.004982, allocations: 39.84 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.005018, allocations: 31.86 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.005222, allocations: 211.2 kB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.005223, allocations: 4 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005224, allocations: 0 / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.005227, allocations: 0 / 328 MB, free: 4.871 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003555/0.005582, allocations: 404.8 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.005608, allocations: 12.02 kB / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.00564, allocations: 12.92 kB / 328.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.005796, allocations: 181.4 kB / 328.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.005807, allocations: 4.312 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.005818, allocations: 4.375 kB / 328.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.00595, allocations: 168.5 kB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005957, allocations: 3.938 kB / 328.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.005964, allocations: 0 / 328.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.005968, allocations: 0 / 328.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.005997, allocations: 21.64 kB / 328.8 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.307e-05/0.00608, allocations: 90.38 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006181, allocations: 86.78 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.006209, allocations: 25.7 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.006218, allocations: 4 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.529e-05/0.006313, allocations: 99.78 kB / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.52e-07/0.006314, allocations: 0 / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001262/0.00644, allocations: 95.25 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.006487, allocations: 136.4 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.006619, allocations: 213.1 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.006635, allocations: 33.7 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.006663, allocations: 100.6 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.006691, allocations: 27.77 kB / 329.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.006723, allocations: 33.7 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.006799, allocations: 334.8 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.006818, allocations: 10.83 kB / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.006866, allocations: 106.3 kB / 330.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.813e-05/0.006925, allocations: 71.81 kB / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006926, allocations: 0 / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.506e-05/0.007011, allocations: 91.81 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.007022, allocations: 12.09 kB / 330.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007025, allocations: 4 kB / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.007036, allocations: 0 / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.007094, allocations: 23.92 kB / 330.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.007098, allocations: 4 kB / 330.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.007139, allocations: 15.94 kB / 330.4 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.007146, allocations: 4 kB / 330.4 MB, free: 2.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.049e-05/0.007217, allocations: 120.6 kB / 330.5 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.007234, allocations: 15.98 kB / 330.5 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.007331, allocations: 98.73 kB / 330.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007334, allocations: 7.938 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.007336, allocations: 3.938 kB / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007339, allocations: 0 / 330.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.675e-05/0.007426, allocations: 101.8 kB / 330.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007427, allocations: 0 / 330.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.298e-05/0.00745, allocations: 11.98 kB / 330.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.007451, allocations: 0 / 330.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.007459, allocations: 8 kB / 330.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.00746, allocations: 0 / 330.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.00746, allocations: 0 / 330.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.512e-05/0.007545, allocations: 127.2 kB / 330.9 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.007565, allocations: 19.84 kB / 330.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.007584, allocations: 8 kB / 330.9 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.007613, allocations: 4 kB / 330.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.007638, allocations: 11.98 kB / 330.9 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.00765, allocations: 12.05 kB / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.007708, allocations: 82.23 kB / 331 MB, free: 1.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007708, allocations: 0 / 331 MB, free: 1.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.007858, allocations: 55.86 kB / 331.1 MB, free: 1.465 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0012/0.009058, allocations: 0.6354 MB / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.009165, allocations: 56.72 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.009171, allocations: 4 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.009208, allocations: 32.83 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.009379, allocations: 62.61 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.009703, allocations: 280.8 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.009741, allocations: 79.92 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.771e-05/0.009798, allocations: 33.59 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.009899, allocations: 99.33 kB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.0099, allocations: 0 / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of Templates: time 0.004678/0.01458, allocations: 3.73 MB / 336.1 MB, free: 12.79 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.9534891569055617]