Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.0009314/0.0009314, allocations: 80.92 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.0009867/0.0009867, allocations: 170.3 kB / 24.92 MB, free: 9.18 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.9655/0.9655, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2405/0.2405, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.601e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.494e-05, allocations: 2.312 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003055/0.00308, allocations: 1.768 MB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000975/0.004055, allocations: 0.5489 MB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.004109, allocations: 0 / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.004354, allocations: 51.8 kB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.00463, allocations: 91.53 kB / 327.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.004943, allocations: 131.5 kB / 327.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.005105, allocations: 83.75 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.005196, allocations: 16.16 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.00528, allocations: 47.89 kB / 328 MB, free: 4.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.005369, allocations: 39.88 kB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.005384, allocations: 4 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.005481, allocations: 47.92 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.805e-05/0.005549, allocations: 23.91 kB / 328.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.005575, allocations: 20.44 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.005742, allocations: 95.59 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005744, allocations: 0 / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005745, allocations: 0 / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.005749, allocations: 3.938 kB / 328.3 MB, free: 4.648 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.0003637/0.006112, allocations: 309.7 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.006147, allocations: 8.031 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.006179, allocations: 12.92 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.006323, allocations: 133.2 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.006334, allocations: 4.375 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.006353, allocations: 8.359 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.006462, allocations: 70.62 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.006472, allocations: 0 / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.00648, allocations: 4 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.006486, allocations: 0 / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.006516, allocations: 8 kB / 328.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.006745, allocations: 176.2 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.006883, allocations: 42.48 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.006905, allocations: 16.97 kB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.00692, allocations: 4 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.006944, allocations: 34.56 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.006945, allocations: 0 / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005727/0.007518, allocations: 206.8 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.00755, allocations: 51.41 kB / 329.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.007674, allocations: 164.2 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.007687, allocations: 29.7 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.007725, allocations: 96.06 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.007757, allocations: 39.67 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.007798, allocations: 25.7 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.007887, allocations: 326.8 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.007904, allocations: 11.98 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.41e-05/0.007918, allocations: 8 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.00796, allocations: 41.75 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.007961, allocations: 0 / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.798e-05/0.008029, allocations: 67.69 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.008039, allocations: 8 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.008043, allocations: 4 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.008052, allocations: 0 / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.00811, allocations: 23.98 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.008112, allocations: 0 / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.008136, allocations: 11.98 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.00814, allocations: 0 / 330.2 MB, free: 2.59 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 (11): * Single equations (assignments): 11 * 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 0.0001054/0.008246, allocations: 124.5 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.008264, allocations: 7.984 kB / 330.3 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/0.008364, allocations: 86.39 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008366, allocations: 4 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.008367, allocations: 0 / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.008369, allocations: 0 / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.008623, allocations: 280.3 kB / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008624, allocations: 0 / 330.7 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.008671, allocations: 19.98 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.008675, allocations: 11.92 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.008681, allocations: 4 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008683, allocations: 3.984 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.008687, allocations: 19.92 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.008806, allocations: 169.3 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.008815, allocations: 11.94 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.008826, allocations: 4.188 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.008864, allocations: 15.98 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.008892, allocations: 7.922 kB / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.008896, allocations: 4 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.008928, allocations: 39.53 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008928, allocations: 3.938 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.00907, allocations: 35.88 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001087/0.01016, allocations: 0.5782 MB / 331.6 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.045e-05/0.01024, allocations: 44.72 kB / 331.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.01024, allocations: 8 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.01027, allocations: 36.78 kB / 331.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.01042, allocations: 15.98 kB / 331.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.01072, allocations: 248.4 kB / 331.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.01076, allocations: 67.34 kB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.0108, allocations: 20.59 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.01091, allocations: 67.31 kB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01091, allocations: 0 / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of Templates: time 0.002973/0.01389, allocations: 1.668 MB / 333.8 MB, free: 15.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.7908265120349824]