Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001369/0.001369, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001568/0.001568, allocations: 169.9 kB / 24.91 MB, free: 8.613 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 1.005/1.005, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2693/0.2693, allocations: 34.28 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 4 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.457e-05, allocations: 6.078 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002278/0.002303, allocations: 1.763 MB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003524, allocations: 1.014 MB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.003594, allocations: 0 / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.003848, allocations: 43.69 kB / 328.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.004094, allocations: 95.55 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.004245, allocations: 87.53 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.00438, allocations: 107.7 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.004501, allocations: 15.94 kB / 328.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.00458, allocations: 51.83 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.004642, allocations: 27.91 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.004654, allocations: 4 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.678e-05/0.004721, allocations: 43.92 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.359e-05/0.004764, allocations: 23.92 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.004795, allocations: 24.36 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.004938, allocations: 111.6 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.00494, allocations: 0 / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00494, allocations: 0 / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.004943, allocations: 4 kB / 328.7 MB, free: 4.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003218/0.005265, allocations: 337.4 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.005292, allocations: 8.031 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.005319, allocations: 12.92 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.005456, allocations: 146.4 kB / 329.2 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.00547, allocations: 4.375 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.005486, allocations: 4.375 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.005577, allocations: 65.7 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.005585, allocations: 3.938 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.005591, allocations: 0 / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.005596, allocations: 7.984 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.005616, allocations: 11.98 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.005788, allocations: 169.9 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.005864, allocations: 89.3 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.005881, allocations: 8.859 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.00589, allocations: 0 / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.42e-05/0.005964, allocations: 70.14 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.005965, allocations: 0 / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002548/0.006219, allocations: 117.5 kB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.006249, allocations: 55.41 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.00639, allocations: 193.6 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.006426, allocations: 25.7 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.006483, allocations: 108 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.006514, allocations: 23.78 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.006551, allocations: 21.7 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.006622, allocations: 326.8 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.006658, allocations: 14.81 kB / 330.5 MB, free: 2.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.006682, allocations: 22.03 kB / 330.5 MB, free: 2.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.006736, allocations: 48.52 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006737, allocations: 0 / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.275e-05/0.00683, allocations: 84.36 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.006841, allocations: 4 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.006845, allocations: 7.938 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.006857, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.006923, allocations: 12 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.006926, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.006961, allocations: 7.984 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.006967, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.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 0.000227/0.007194, allocations: 124.6 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.00721, allocations: 15.92 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.007329, allocations: 71.14 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007331, allocations: 0 / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007333, allocations: 0 / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.007336, allocations: 4 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.007571, allocations: 299.6 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.007573, allocations: 0 / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.007634, allocations: 11.94 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.007636, allocations: 4.031 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.007642, allocations: 0 / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.007644, allocations: 4 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.007647, allocations: 4.062 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.007748, allocations: 223 kB / 331.4 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.007762, allocations: 11.91 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.007777, allocations: 4 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.007819, allocations: 3.984 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.007841, allocations: 8 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.007854, allocations: 7.984 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.454e-05/0.007908, allocations: 60.23 kB / 331.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007908, allocations: 4 kB / 331.5 MB, free: 1.113 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.008047, allocations: 23.94 kB / 331.6 MB, free: 1.09 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: 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.00117/0.009217, allocations: 0.5747 MB / 332.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.00932, allocations: 48.7 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.009325, allocations: 0 / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.009357, allocations: 28.78 kB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.009537, allocations: 38.42 kB / 332.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.009924, allocations: 242.5 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.009967, allocations: 71.33 kB / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.01001, allocations: 21.39 kB / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.01007, allocations: 67.38 kB / 332.7 MB, free: 264 kB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01007, allocations: 0 / 332.7 MB, free: 264 kB / 298.7 MB Notification: Performance of Templates: time 0.003777/0.01384, allocations: 2.01 MB / 334.7 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.9545830627903342]