Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001314/0.001314, 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.001945/0.001945, allocations: 169 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.086 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.2629/0.2629, allocations: 32.8 MB / 294.6 MB, free: 1.207 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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.941e-05, allocations: 2.969 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002281/0.002301, allocations: 1.743 MB / 325 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.003487, allocations: 1.321 MB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.003545, allocations: 7.938 kB / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.003743, allocations: 19.86 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.00398, allocations: 87.48 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.004254, allocations: 171.5 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.004374, allocations: 79.81 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.611e-05/0.00445, allocations: 16.55 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.00451, allocations: 51.83 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.004597, allocations: 24.91 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.00461, allocations: 11.98 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.004785, allocations: 95.88 kB / 326.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.004831, allocations: 19.91 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.004856, allocations: 19.94 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.005032, allocations: 143.5 kB / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.005034, allocations: 0 / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005035, allocations: 0 / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.005038, allocations: 0 / 327.1 MB, free: 5.844 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.0003071/0.005345, allocations: 313.5 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.005372, allocations: 8.031 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.005398, allocations: 4.938 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.005521, allocations: 141.5 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.005528, allocations: 4.375 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.005543, allocations: 384 / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.005648, allocations: 106.3 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.005656, allocations: 192 / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.005664, allocations: 4.125 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.005667, allocations: 0 / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.005691, allocations: 19.98 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.005889, allocations: 175 kB / 327.8 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.66e-05/0.005936, allocations: 26.64 kB / 327.9 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.00595, allocations: 8.953 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.005965, allocations: 7.984 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.005984, allocations: 38.5 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.005984, allocations: 0 / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000275/0.006259, allocations: 109.5 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.00629, allocations: 81.11 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.006374, allocations: 148.8 kB / 328.3 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.006384, allocations: 25.7 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.006414, allocations: 92.08 kB / 328.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.006435, allocations: 27.78 kB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.006465, allocations: 21.7 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.006536, allocations: 318.8 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.006549, allocations: 7.984 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.00658, allocations: 47.41 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.006615, allocations: 27.67 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006617, allocations: 3.984 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.755e-05/0.006684, allocations: 65.59 kB / 328.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.006696, allocations: 7.938 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.0067, allocations: 0 / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.00671, allocations: 0 / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.006771, allocations: 19.98 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006774, allocations: 0 / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.006798, allocations: 7.984 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.006803, allocations: 0 / 328.9 MB, free: 3.824 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 (7): * Single equations (assignments): 7 * 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.39e-05/0.006857, allocations: 116.7 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.006877, allocations: 11.94 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.006972, allocations: 78.66 kB / 329.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006975, allocations: 4 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.006976, allocations: 0 / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006978, allocations: 0 / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.007164, allocations: 222.7 kB / 329.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007165, allocations: 0 / 329.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.007202, allocations: 19.98 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.007203, allocations: 288 / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.007208, allocations: 7.938 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007209, allocations: 4 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00721, allocations: 0 / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.007285, allocations: 151.5 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.007294, allocations: 7.938 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.007305, allocations: 4 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.007345, allocations: 15.98 kB / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.007366, allocations: 0 / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.007369, allocations: 0 / 329.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.007396, allocations: 33.91 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007396, allocations: 0 / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.007552, allocations: 43.88 kB / 329.6 MB, free: 3.059 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 (7): * Single equations (assignments): 7 * 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.001181/0.008733, allocations: 0.6373 MB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.47e-05/0.008808, allocations: 24.86 kB / 330.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.00881, allocations: 4 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.008835, allocations: 28.77 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.00898, allocations: 27.12 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.00924, allocations: 188.1 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.009274, allocations: 67.33 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.145e-05/0.009315, allocations: 17.03 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.00938, allocations: 71.36 kB / 330.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.00938, allocations: 0 / 330.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of Templates: time 0.003282/0.01266, allocations: 2.151 MB / 332.8 MB, free: 132 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.89358316315338]