Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001002/0.001002, 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.001142/0.001142, allocations: 177.1 kB / 24.91 MB, free: 8.766 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.9848/0.9848, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.245/0.245, allocations: 34.27 MB / 296.1 MB, free: 0.707 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.074e-05, allocations: 3.516 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002128/0.002149, allocations: 1.639 MB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.002854, allocations: 0.5335 MB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.002896, allocations: 0 / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.003309, allocations: 455 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.003649, allocations: 299.2 kB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.003874, allocations: 119.6 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.004047, allocations: 159.7 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.326e-05/0.004121, allocations: 20.11 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.00423, allocations: 115.8 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.004374, allocations: 191.7 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.004386, allocations: 4 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.528e-05/0.004442, allocations: 23.88 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.004524, allocations: 91.64 kB / 328.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.004555, allocations: 36.25 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.004724, allocations: 179.2 kB / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004726, allocations: 0 / 329.1 MB, free: 3.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004727, allocations: 4 kB / 329.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004731, allocations: 4 kB / 329.1 MB, free: 3.805 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.0004308/0.005162, allocations: 0.5424 MB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.005194, allocations: 12.03 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.005226, allocations: 16.92 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005388, allocations: 246.1 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.005397, allocations: 4.375 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.005406, allocations: 384 / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.084e-05/0.005486, allocations: 54.95 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.005493, allocations: 192 / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.0055, allocations: 7.922 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005505, allocations: 4 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.421e-05/0.005519, allocations: 4 kB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.00569, allocations: 164.1 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.258e-05/0.005723, allocations: 18.58 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.14e-05/0.005734, allocations: 8.922 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.005748, allocations: 3.984 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.005765, allocations: 34.5 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.005766, allocations: 3.938 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001035/0.005869, allocations: 57.7 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.005898, allocations: 63.5 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.006215, allocations: 0.5205 MB / 330.9 MB, free: 1.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.006227, allocations: 29.69 kB / 330.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.006279, allocations: 133.3 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.006295, allocations: 11.95 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.006317, allocations: 13.7 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.006425, allocations: 358.7 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-06/0.006432, allocations: 0 / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.006438, allocations: 0 / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/0.006459, allocations: 16.92 kB / 331.4 MB, free: 1.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006461, allocations: 0 / 331.4 MB, free: 1.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.983e-05/0.006511, allocations: 57.55 kB / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.00652, allocations: 8 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006525, allocations: 3.984 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.006534, allocations: 0 / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.006581, allocations: 4 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.006584, allocations: 0 / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.006603, allocations: 0 / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.00661, allocations: 8 kB / 331.5 MB, free: 1.258 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 5.972e-05/0.00667, allocations: 112.7 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.006693, allocations: 23.91 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.006772, allocations: 80.67 kB / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.006773, allocations: 0 / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006774, allocations: 0 / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.006776, allocations: 0 / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.006885, allocations: 137.7 kB / 331.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006886, allocations: 0 / 331.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.006902, allocations: 7.984 kB / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006903, allocations: 0 / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-06/0.006907, allocations: 4.031 kB / 331.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.006909, allocations: 3.938 kB / 331.8 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.00691, allocations: 0 / 331.8 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.007038, allocations: 151.5 kB / 332 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.00706, allocations: 35.75 kB / 332 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.007073, allocations: 3.938 kB / 332 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.007107, allocations: 7.938 kB / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-06/0.007115, allocations: 3.938 kB / 332 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.007117, allocations: 0 / 332 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.007282, allocations: 287.2 kB / 332.3 MB, free: 372 kB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007282, allocations: 32 / 332.3 MB, free: 372 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.00741, allocations: 23.89 kB / 332.4 MB, free: 348 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.0009192/0.008329, allocations: 436 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.772e-05/0.008377, allocations: 16.86 kB / 332.8 MB, free: 120 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.008382, allocations: 4 kB / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.008392, allocations: 16.84 kB / 332.8 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.00855, allocations: 25.89 kB / 332.8 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.009066, allocations: 0.5671 MB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.384e-05/0.00913, allocations: 115.3 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.501e-05/0.009155, allocations: 11.97 kB / 333.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.009193, allocations: 51.38 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.009194, allocations: 0 / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.003238/0.01243, allocations: 1.223 MB / 334.8 MB, free: 14.06 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.936885724775493]