Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001117/0.001117, allocations: 81.97 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.001034/0.001034, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.005/1.005, allocations: 177.1 MB / 206 MB, free: 4.477 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.155/0.155, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.556e-05, allocations: 5.406 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003007/0.003033, allocations: 1.697 MB / 379 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000751/0.003784, allocations: 0.5414 MB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.003849, allocations: 0 / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.004263, allocations: 451 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.004735, allocations: 303.2 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.00509, allocations: 127.6 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.005366, allocations: 175.6 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.005493, allocations: 15.92 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.005624, allocations: 123.8 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.005834, allocations: 247.6 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.005849, allocations: 4 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.005935, allocations: 47.92 kB / 381 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.006009, allocations: 87.66 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.006039, allocations: 43.72 kB / 381.1 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.006217, allocations: 207.2 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.006218, allocations: 0 / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006219, allocations: 0 / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.006223, allocations: 0 / 381.3 MB, free: 21.53 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003829/0.006606, allocations: 0.7124 MB / 382 MB, free: 20.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006646, allocations: 15.98 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.006691, allocations: 44.66 kB / 382.1 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.006829, allocations: 252.8 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.006836, allocations: 384 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.006854, allocations: 8.375 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.006928, allocations: 58.95 kB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.006941, allocations: 4.188 kB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.006947, allocations: 4.125 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006951, allocations: 0 / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.52e-05/0.006976, allocations: 23.92 kB / 382.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.007206, allocations: 336.2 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.901e-05/0.007255, allocations: 51.06 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.007269, allocations: 15.62 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.007284, allocations: 3.984 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.0073, allocations: 33.39 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.007301, allocations: 4 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004062/0.007707, allocations: 181.3 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.007729, allocations: 55.39 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.007987, allocations: 0.604 MB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.007993, allocations: 25.7 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.008094, allocations: 298.7 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.008116, allocations: 27.73 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.008144, allocations: 27.38 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.008223, allocations: 0.5663 MB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.008235, allocations: 4 kB / 384.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.008248, allocations: 15.92 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.008283, allocations: 35.89 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.008284, allocations: 0 / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.045e-05/0.008365, allocations: 97.41 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.008375, allocations: 4 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.008378, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.008389, allocations: 4 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.008443, allocations: 27.86 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.008445, allocations: 4 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.008469, allocations: 4 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.008473, allocations: 0 / 384.8 MB, free: 17.81 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 (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 5.558e-05/0.008529, allocations: 164.5 kB / 385 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.008569, allocations: 43.72 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.008679, allocations: 105.5 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008681, allocations: 4 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.008683, allocations: 0 / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008686, allocations: 0 / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.008934, allocations: 441.4 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.008936, allocations: 0 / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.008967, allocations: 15.94 kB / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.008969, allocations: 0 / 385.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.008974, allocations: 8 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.008977, allocations: 7.984 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008978, allocations: 0 / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.207e-05/0.009071, allocations: 259.3 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.009089, allocations: 35.72 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.009103, allocations: 7.938 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.00914, allocations: 8.031 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.009163, allocations: 7.984 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.009166, allocations: 3.938 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.009312, allocations: 394.7 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009312, allocations: 0 / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001593/0.009472, allocations: 24 kB / 386.3 MB, free: 16.23 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.0009004/0.01037, allocations: 441.7 kB / 386.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.449e-05/0.01045, allocations: 39.59 kB / 386.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01045, allocations: 7.938 kB / 386.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.01047, allocations: 23.67 kB / 386.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01068, allocations: 36.73 kB / 386.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.01116, allocations: 0.5981 MB / 387.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.01122, allocations: 127 kB / 387.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.26e-05/0.01125, allocations: 21.02 kB / 387.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.0113, allocations: 78.2 kB / 387.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0113, allocations: 0 / 387.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Templates: time 0.003549/0.01484, allocations: 1.759 MB / 389.4 MB, free: 13.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0721071739681065]