Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001382/0.001382, 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.0009826/0.0009826, allocations: 168.4 kB / 24.91 MB, free: 8.262 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.9355/0.9355, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2822/0.2822, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 4 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.607e-05, allocations: 5.266 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001975/0.001991, allocations: 1.651 MB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006944/0.002686, allocations: 0.5295 MB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.002734, allocations: 0 / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.003203, allocations: 455 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.003614, allocations: 295.3 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.003887, allocations: 123.6 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002093/0.004097, allocations: 159.6 kB / 328.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.004183, allocations: 20.16 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.004307, allocations: 111.8 kB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.004459, allocations: 195.6 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.004471, allocations: 4 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.637e-05/0.004527, allocations: 23.92 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.004606, allocations: 87.7 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.004635, allocations: 39.69 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.004805, allocations: 183.2 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004807, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004807, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.004811, allocations: 3.938 kB / 329.1 MB, free: 3.809 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000438/0.005249, allocations: 0.5424 MB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.005283, allocations: 8.031 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.005321, allocations: 20.92 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.005494, allocations: 238.2 kB / 329.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.005504, allocations: 384 / 329.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.005515, allocations: 8.375 kB / 329.9 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005615, allocations: 58.94 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.005622, allocations: 192 / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.00563, allocations: 3.938 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005635, allocations: 0 / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.565e-05/0.005651, allocations: 7.938 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.005847, allocations: 156.2 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.005886, allocations: 18.58 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.0059, allocations: 12.91 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.005913, allocations: 4 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.005933, allocations: 38.44 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005934, allocations: 0 / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.006047, allocations: 57.73 kB / 330.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.006081, allocations: 51.41 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.00639, allocations: 0.5321 MB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.006399, allocations: 25.7 kB / 330.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.006451, allocations: 141.3 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.006464, allocations: 7.953 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.006487, allocations: 9.719 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.006573, allocations: 366.8 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.00658, allocations: 0 / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.006587, allocations: 3.938 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/0.006608, allocations: 12.86 kB / 331.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006609, allocations: 0 / 331.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.826e-05/0.006658, allocations: 57.59 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.006667, allocations: 8 kB / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.006671, allocations: 0 / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.006683, allocations: 3.984 kB / 331.5 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.006727, allocations: 4.094 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.006729, allocations: 4 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.006749, allocations: 0 / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.006753, allocations: 0 / 331.5 MB, free: 1.27 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 (2): * Single equations (assignments): 2 * 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.113e-05/0.006815, allocations: 120.6 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.006838, allocations: 27.91 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.849e-05/0.006917, allocations: 72.73 kB / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006918, allocations: 0 / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.00692, allocations: 0 / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006922, allocations: 0 / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.007038, allocations: 145.7 kB / 331.8 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007039, allocations: 0 / 331.8 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.007059, allocations: 4 kB / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-07/0.00706, allocations: 0 / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.007063, allocations: 0 / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007065, allocations: 3.938 kB / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007065, allocations: 0 / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.826e-05/0.007134, allocations: 155.5 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.007159, allocations: 31.75 kB / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.007171, allocations: 0 / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.007206, allocations: 7.938 kB / 332 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-06/0.007215, allocations: 4.031 kB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.007217, allocations: 3.938 kB / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.00738, allocations: 279.2 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00738, allocations: 4 kB / 332.3 MB, free: 380 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.007509, allocations: 19.89 kB / 332.3 MB, free: 360 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0008425/0.008352, allocations: 436.6 kB / 332.8 MB, free: 156 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.217e-05/0.008404, allocations: 24.78 kB / 332.8 MB, free: 128 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.00841, allocations: 4 kB / 332.8 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.008419, allocations: 12.84 kB / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.008583, allocations: 21.95 kB / 332.8 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.009111, allocations: 0.5634 MB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.412e-05/0.009176, allocations: 115.3 kB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.328e-05/0.009199, allocations: 15.97 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.009242, allocations: 51.38 kB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009242, allocations: 0 / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of Templates: time 0.003201/0.01244, allocations: 1.228 MB / 334.8 MB, free: 14.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.8423023470677435]