Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001067/0.001067, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001251/0.001251, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9249/0.9249, allocations: 177.1 MB / 206 MB, free: 4.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.1382/0.1382, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.467e-05, allocations: 9.484 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002893/0.002917, allocations: 1.682 MB / 381 MB, free: 21.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.003839, allocations: 0.5607 MB / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.00391, allocations: 0 / 381.5 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.004287, allocations: 459.1 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.004577, allocations: 291.1 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.004854, allocations: 171.5 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.005019, allocations: 175.7 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.0051, allocations: 12 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.172e-05/0.005192, allocations: 131.7 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.005337, allocations: 243.5 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.005351, allocations: 0 / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.005419, allocations: 43.91 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.005487, allocations: 83.72 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.005516, allocations: 31.75 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.005694, allocations: 199.2 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005696, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005697, allocations: 0 / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.005703, allocations: 4 kB / 383.4 MB, free: 19.34 MB / 314.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.0004133/0.006116, allocations: 0.7047 MB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.006147, allocations: 8.031 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.00619, allocations: 44.66 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.006328, allocations: 248.8 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.006338, allocations: 8.375 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.006352, allocations: 384 / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.00643, allocations: 58.95 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.006439, allocations: 192 / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.006445, allocations: 4.125 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.006449, allocations: 4 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.00647, allocations: 11.92 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.006697, allocations: 340.3 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.006804, allocations: 42.98 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.006817, allocations: 11.77 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.00683, allocations: 7.938 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.006844, allocations: 37.39 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.006845, allocations: 0 / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002502/0.007095, allocations: 129.2 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.007113, allocations: 55.41 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.007349, allocations: 0.604 MB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.007354, allocations: 25.7 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.007446, allocations: 302.7 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.007461, allocations: 11.91 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.007485, allocations: 27.36 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.007548, allocations: 0.5547 MB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.007559, allocations: 7.984 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.00757, allocations: 7.938 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.007596, allocations: 19.88 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007597, allocations: 4 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.706e-05/0.007664, allocations: 105.2 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.007674, allocations: 8 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007678, allocations: 3.984 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.007686, allocations: 0 / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-05/0.007726, allocations: 11.98 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.007728, allocations: 0 / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.007752, allocations: 4 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.007756, allocations: 4 kB / 386.7 MB, free: 15.75 MB / 314.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 4.644e-05/0.007802, allocations: 152.6 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.00783, allocations: 47.66 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.007931, allocations: 101.1 kB / 387 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007932, allocations: 4 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007934, allocations: 0 / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.007936, allocations: 3.984 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.00814, allocations: 381.9 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.008141, allocations: 0 / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.008167, allocations: 15.92 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008168, allocations: 0 / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.008173, allocations: 4 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008174, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008175, allocations: 4 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.039e-05/0.008245, allocations: 243.8 kB / 387.7 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.008263, allocations: 35.72 kB / 387.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.008276, allocations: 3.984 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.008314, allocations: 8 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.008335, allocations: 0 / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.008339, allocations: 4 kB / 387.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.008477, allocations: 390.7 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008477, allocations: 0 / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.008646, allocations: 20 kB / 388.1 MB, free: 14.29 MB / 314.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.0007965/0.009443, allocations: 394.5 kB / 388.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.009513, allocations: 27.67 kB / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.009514, allocations: 0 / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.009532, allocations: 27.67 kB / 388.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.009759, allocations: 32.69 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.01024, allocations: 0.5789 MB / 389.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.01029, allocations: 123.1 kB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.01032, allocations: 15.83 kB / 389.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.01037, allocations: 78.2 kB / 389.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01037, allocations: 0 / 389.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of Templates: time 0.003502/0.01387, allocations: 1.515 MB / 390.9 MB, free: 11.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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: 3.02986903488636]