Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0009288/0.0009288, 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.0009277/0.0009277, allocations: 175.7 kB / 24.92 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.9504/0.9504, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.3173/0.3173, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.544e-05, allocations: 3.516 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.006272/0.006297, allocations: 1.756 MB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.01031, allocations: 0.5529 MB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.01037, allocations: 0 / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.01091, allocations: 455 kB / 328.1 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006928/0.01161, allocations: 287.3 kB / 328.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.01192, allocations: 131.5 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.01215, allocations: 175.6 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.01224, allocations: 20.47 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.01237, allocations: 127.7 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.01257, allocations: 195.6 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.01258, allocations: 4 kB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.01269, allocations: 47.92 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.01278, allocations: 83.7 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.01281, allocations: 39.73 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.01612, allocations: 223 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01612, allocations: 0 / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01612, allocations: 0 / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.01613, allocations: 0 / 329.4 MB, free: 3.539 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005145/0.01664, allocations: 0.5463 MB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.01667, allocations: 8.031 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.01672, allocations: 24.91 kB / 330 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.01693, allocations: 246 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.01694, allocations: 8.312 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.01696, allocations: 384 / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.01706, allocations: 62.94 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.01707, allocations: 4.188 kB / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.01708, allocations: 8.125 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01709, allocations: 4 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.01711, allocations: 7.984 kB / 330.3 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.01734, allocations: 176.1 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/0.01739, allocations: 26.58 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.01741, allocations: 8.859 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.01743, allocations: 12.02 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.01745, allocations: 38.59 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.985e-06/0.01745, allocations: 4 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004729/0.01793, allocations: 153.8 kB / 330.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.01796, allocations: 51.41 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.01837, allocations: 0.5244 MB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.01838, allocations: 33.7 kB / 331.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.01845, allocations: 141.2 kB / 331.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.01848, allocations: 27.73 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.01852, allocations: 17.72 kB / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.01862, allocations: 366.6 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.01863, allocations: 11.94 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.01865, allocations: 8 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.01869, allocations: 28.77 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01869, allocations: 4 kB / 331.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.125e-05/0.01879, allocations: 73.89 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.0188, allocations: 8.625 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01881, allocations: 0 / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/0.02182, allocations: 3.984 kB / 332 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.02193, allocations: 12.05 kB / 332 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.02193, allocations: 4.062 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.02198, allocations: 15.97 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.02199, allocations: 0 / 332 MB, free: 0.7383 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 (8): * Single equations (assignments): 8 * 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 9.925e-05/0.02209, allocations: 124.5 kB / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.02213, allocations: 23.97 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.02228, allocations: 97.53 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02229, allocations: 0 / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02229, allocations: 0 / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.02229, allocations: 0 / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.02256, allocations: 307.4 kB / 332.6 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02256, allocations: 0 / 332.6 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.02261, allocations: 23.92 kB / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02261, allocations: 0 / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.02261, allocations: 0 / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.02262, allocations: 0 / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.02262, allocations: 4 kB / 332.6 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.02273, allocations: 180.3 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.02275, allocations: 35.72 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.02277, allocations: 0 / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.02285, allocations: 4 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.02288, allocations: 12.02 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.02289, allocations: 4 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002914/0.02318, allocations: 287.1 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02318, allocations: 0 / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.02348, allocations: 35.92 kB / 333.1 MB, free: 15.56 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001919/0.0254, allocations: 0.5795 MB / 333.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.02552, allocations: 32.83 kB / 333.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.02553, allocations: 4 kB / 333.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.02557, allocations: 20.8 kB / 333.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.02591, allocations: 25.95 kB / 333.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.02689, allocations: 0.5994 MB / 334.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.02702, allocations: 123.2 kB / 334.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.02708, allocations: 12.73 kB / 334.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.02716, allocations: 67.3 kB / 334.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of SimCode: time 2.074e-06/0.02716, allocations: 0 / 334.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Templates: time 0.005932/0.03309, allocations: 1.718 MB / 336.3 MB, free: 12.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.9567133323289454]