Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001442/0.001442, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001984/0.001984, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9755/0.9755, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2594/0.2594, allocations: 32.8 MB / 294.6 MB, free: 1.117 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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.8e-05, allocations: 2.969 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.00222/0.002238, allocations: 1.722 MB / 325 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.002978, allocations: 0.549 MB / 325.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.003026, allocations: 0 / 325.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.003455, allocations: 459.1 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.003792, allocations: 295.1 kB / 326.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.00404, allocations: 123.6 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.00423, allocations: 175.6 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.004305, allocations: 12.61 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.004412, allocations: 119.8 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.004568, allocations: 199.6 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.004582, allocations: 4 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.00465, allocations: 31.92 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.004729, allocations: 87.7 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.004759, allocations: 35.75 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.004946, allocations: 199.1 kB / 327.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004948, allocations: 0 / 327.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004949, allocations: 8 kB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004952, allocations: 0 / 327.3 MB, free: 5.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004266/0.005379, allocations: 0.5461 MB / 327.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.005407, allocations: 8.031 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.005441, allocations: 20.92 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.005605, allocations: 234.2 kB / 328.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.005614, allocations: 4.375 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.005631, allocations: 8.328 kB / 328.1 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.005715, allocations: 66.86 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.005723, allocations: 192 / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.00573, allocations: 8.125 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005735, allocations: 4 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.005756, allocations: 4 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.005943, allocations: 164.2 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.006052, allocations: 38.56 kB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.006068, allocations: 4.859 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.006082, allocations: 4 kB / 328.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.006103, allocations: 42.5 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.006104, allocations: 0 / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002389/0.006343, allocations: 97.62 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.00637, allocations: 59.41 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.006677, allocations: 0.5244 MB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.006687, allocations: 29.7 kB / 329.1 MB, free: 3.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.006741, allocations: 137.3 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.00676, allocations: 23.83 kB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.006786, allocations: 17.72 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.006872, allocations: 358.6 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.006882, allocations: 7.984 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.006892, allocations: 4 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.006917, allocations: 16.84 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006918, allocations: 11.94 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.185e-05/0.00698, allocations: 65.61 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.006991, allocations: 6.344 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006995, allocations: 0 / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.007008, allocations: 0 / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.095e-05/0.007049, allocations: 15.98 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.007052, allocations: 0 / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.007073, allocations: 0 / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.007078, allocations: 4 kB / 329.8 MB, free: 2.953 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 (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.79e-05/0.007146, allocations: 112.7 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.007172, allocations: 27.92 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.007272, allocations: 93.16 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.007274, allocations: 0 / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007275, allocations: 0 / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007277, allocations: 288 / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.007478, allocations: 267 kB / 330.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.007481, allocations: 7.938 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.007507, allocations: 11.98 kB / 330.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.00751, allocations: 3.984 kB / 330.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.007514, allocations: 4 kB / 330.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007516, allocations: 4 kB / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007517, allocations: 0 / 330.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.863e-05/0.007595, allocations: 163.5 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.007617, allocations: 35.7 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.007629, allocations: 0 / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.007665, allocations: 4 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.007686, allocations: 3.984 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.00769, allocations: 4 kB / 330.5 MB, free: 2.168 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.007857, allocations: 279.2 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007857, allocations: 3.938 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001444/0.008001, allocations: 27.94 kB / 330.8 MB, free: 1.863 MB / 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 (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.001025/0.009026, allocations: 0.4958 MB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.009091, allocations: 28.83 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.009098, allocations: 4 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.009114, allocations: 16.8 kB / 331.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.009288, allocations: 40.45 kB / 331.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.009826, allocations: 0.5773 MB / 332 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.86e-05/0.009895, allocations: 115.3 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.009929, allocations: 19.97 kB / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.009976, allocations: 55.38 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009976, allocations: 0 / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of Templates: time 0.003463/0.01344, allocations: 1.444 MB / 333.6 MB, free: 15.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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: 2.884740612935275]