Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.001428/0.001428, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001524/0.001524, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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 0.9679/0.9679, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.136/0.136, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.148e-06/4.148e-06, allocations: 4 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.193e-05, allocations: 8.219 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002079/0.002111, allocations: 1.649 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005728/0.002683, allocations: 323.4 kB / 349.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.002743, allocations: 0 / 349.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.003263, allocations: 455 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.003577, allocations: 259.4 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.003805, allocations: 103.7 kB / 350.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.003989, allocations: 159.6 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004104, allocations: 16.17 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.259e-05/0.004196, allocations: 115.8 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.004396, allocations: 235.6 kB / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.00442, allocations: 0 / 351 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-05/0.004495, allocations: 35.92 kB / 351 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.004587, allocations: 83.7 kB / 351.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.004619, allocations: 39.73 kB / 351.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.004824, allocations: 191.2 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004828, allocations: 7.984 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004829, allocations: 0 / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004834, allocations: 3.938 kB / 351.3 MB, free: 5.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005105/0.005344, allocations: 0.6738 MB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.005394, allocations: 12.03 kB / 352 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.005455, allocations: 40.66 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.005633, allocations: 244.8 kB / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.005645, allocations: 384 / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.005677, allocations: 8.375 kB / 352.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.005803, allocations: 62.92 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.005815, allocations: 4.188 kB / 352.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.005826, allocations: 7.938 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.005834, allocations: 0 / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.005866, allocations: 4 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.006274, allocations: 431.6 kB / 352.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.006471, allocations: 42.98 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.006495, allocations: 11.69 kB / 352.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.006518, allocations: 0 / 352.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.006535, allocations: 37.39 kB / 352.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.006536, allocations: 3.938 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003656/0.006901, allocations: 184.9 kB / 353.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.006926, allocations: 55.34 kB / 353.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.007259, allocations: 0.6199 MB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.007268, allocations: 29.7 kB / 353.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.007368, allocations: 274.8 kB / 354 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.007391, allocations: 27.78 kB / 354.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.007418, allocations: 19.38 kB / 354.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.007506, allocations: 0.5547 MB / 354.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.007525, allocations: 7.984 kB / 354.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.007539, allocations: 4 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.007574, allocations: 23.69 kB / 354.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.007575, allocations: 192 / 354.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.386e-05/0.007669, allocations: 109.3 kB / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.007683, allocations: 4 kB / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007689, allocations: 0 / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.007711, allocations: 0 / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.007757, allocations: 8 kB / 354.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.007766, allocations: 0 / 354.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.00779, allocations: 7.984 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007796, allocations: 0 / 354.8 MB, free: 2.098 MB / 282.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 (5): * Single equations (assignments): 5 * 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.122e-05/0.007857, allocations: 164.5 kB / 355 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.007886, allocations: 47.72 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.00801, allocations: 89.12 kB / 355.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008012, allocations: 3.938 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.008017, allocations: 288 / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.00802, allocations: 0 / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.00832, allocations: 465.4 kB / 355.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.008324, allocations: 0 / 355.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.008352, allocations: 15.97 kB / 355.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008355, allocations: 0 / 355.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.008361, allocations: 8 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.008362, allocations: 0 / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008363, allocations: 0 / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.22e-05/0.008455, allocations: 251.7 kB / 355.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.008476, allocations: 31.72 kB / 355.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.008493, allocations: 4 kB / 355.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.008528, allocations: 4 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.008566, allocations: 3.984 kB / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.008569, allocations: 4 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.008757, allocations: 418.8 kB / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008757, allocations: 0 / 356.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.008928, allocations: 39.86 kB / 356.3 MB, free: 0.5039 MB / 282.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 (5): * Single equations (assignments): 5 * 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.0007676/0.009695, allocations: 366.3 kB / 356.7 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.74e-05/0.009793, allocations: 39.61 kB / 356.7 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009794, allocations: 0 / 356.7 MB, free: 196 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.009813, allocations: 23.67 kB / 356.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01006, allocations: 31.14 kB / 356.8 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.01071, allocations: 0.5704 MB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.346e-05/0.0108, allocations: 115.3 kB / 357.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.224e-05/0.01083, allocations: 7.984 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.01086, allocations: 12.5 kB / 357.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01086, allocations: 7.938 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of Templates: time 0.003947/0.01481, allocations: 1.345 MB / 358.8 MB, free: 14.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.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.2811093516647816]