Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0009353/0.0009353, 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.0009982/0.0009982, allocations: 170.8 kB / 24.91 MB, free: 9.152 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.9259/0.9259, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2416/0.2416, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.432e-05, allocations: 6.312 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.005375/0.005389, allocations: 1.641 MB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008689/0.006258, allocations: 0.5685 MB / 327.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.006303, allocations: 0 / 327.5 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.006799, allocations: 451.1 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.007184, allocations: 299.1 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.007493, allocations: 167.5 kB / 328.4 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003209/0.0107, allocations: 171.6 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.764e-05/0.01078, allocations: 8.484 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.01089, allocations: 123.8 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.01107, allocations: 195.6 kB / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.01108, allocations: 0 / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.01126, allocations: 27.88 kB / 328.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.462e-05/0.01135, allocations: 87.7 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.01139, allocations: 35.73 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.01159, allocations: 187.2 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.0116, allocations: 0 / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.0116, allocations: 7.984 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.786e-06/0.0116, allocations: 0 / 329.2 MB, free: 3.723 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004791/0.01208, allocations: 0.5385 MB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.01211, allocations: 8.031 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.01215, allocations: 20.92 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.01234, allocations: 250 kB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.01235, allocations: 384 / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.01236, allocations: 4.375 kB / 330 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.01244, allocations: 54.94 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.01245, allocations: 192 / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.01246, allocations: 12.12 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.01246, allocations: 0 / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.01248, allocations: 4 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.01273, allocations: 191.1 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.69e-05/0.01276, allocations: 18.58 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.01278, allocations: 8.922 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.01279, allocations: 0 / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.01281, allocations: 38.5 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.01281, allocations: 0 / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001149/0.01293, allocations: 61.61 kB / 330.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.01296, allocations: 55.39 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.01334, allocations: 0.5283 MB / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.01335, allocations: 25.7 kB / 331 MB, free: 1.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.01342, allocations: 149.2 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.01343, allocations: 3.953 kB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003031/0.01646, allocations: 17.72 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.01656, allocations: 354.7 kB / 331.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.01657, allocations: 7.984 kB / 331.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.01658, allocations: 0 / 331.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.01661, allocations: 15.88 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01661, allocations: 0 / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.737e-05/0.01668, allocations: 57.61 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01669, allocations: 7.938 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.01669, allocations: 3.938 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.0167, allocations: 4 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.01675, allocations: 3.984 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.01675, allocations: 4 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.01678, allocations: 0 / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.01678, allocations: 0 / 331.6 MB, free: 1.137 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 (2): * Single equations (assignments): 2 * 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.726e-05/0.01685, allocations: 116.7 kB / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.01688, allocations: 23.91 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.065e-05/0.01697, allocations: 76.69 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01698, allocations: 0 / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01698, allocations: 3.984 kB / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.01698, allocations: 0 / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01713, allocations: 141.8 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.01714, allocations: 0 / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.01715, allocations: 7.984 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.01715, allocations: 0 / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-06/0.01716, allocations: 4.031 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01716, allocations: 3.938 kB / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01716, allocations: 0 / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.01724, allocations: 143.5 kB / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.01727, allocations: 35.72 kB / 332.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01729, allocations: 7.984 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.01734, allocations: 3.938 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.01735, allocations: 7.938 kB / 332.2 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.01735, allocations: 0 / 332.2 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004493/0.0178, allocations: 279.2 kB / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0178, allocations: 4.031 kB / 332.5 MB, free: 248 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.018, allocations: 19.94 kB / 332.5 MB, free: 228 kB / 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 (2): * Single equations (assignments): 2 * 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.0009432/0.01894, allocations: 436.3 kB / 332.9 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.149e-05/0.019, allocations: 16.86 kB / 332.9 MB, free: 0 / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.01901, allocations: 4.047 kB / 332.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.664e-06/0.01902, allocations: 16.73 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.01918, allocations: 26.58 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.01969, allocations: 0.5658 MB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.203e-05/0.01977, allocations: 119.2 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.0198, allocations: 7.984 kB / 333.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.01985, allocations: 59.36 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01985, allocations: 0 / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of Templates: time 0.003378/0.02323, allocations: 1.231 MB / 334.9 MB, free: 13.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.9348225127905607]