Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009957/0.0009957, allocations: 80.31 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.0009562/0.0009562, allocations: 169.4 kB / 25.61 MB, free: 8.449 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.9457/0.9457, allocations: 177.2 MB / 206.1 MB, free: 4.465 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.1381/0.1381, allocations: 32.79 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.52e-05, allocations: 5.406 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001851/0.001866, allocations: 1.673 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.002538, allocations: 0.5374 MB / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.002594, allocations: 4 kB / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.002947, allocations: 455 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.00324, allocations: 291.2 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.003446, allocations: 123.6 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.003615, allocations: 175.6 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.003711, allocations: 19.78 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.003811, allocations: 119.8 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.003969, allocations: 243.6 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.003984, allocations: 0 / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.004056, allocations: 35.92 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.004138, allocations: 83.7 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.00417, allocations: 39.73 kB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004341, allocations: 199.2 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004343, allocations: 0 / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004344, allocations: 0 / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004348, allocations: 0 / 381.3 MB, free: 21.59 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.0003758/0.004723, allocations: 0.697 MB / 382 MB, free: 20.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.004751, allocations: 15.98 kB / 382 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.004789, allocations: 48.59 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.004919, allocations: 248.8 kB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004927, allocations: 384 / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.004943, allocations: 8.359 kB / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.877e-05/0.005011, allocations: 54.95 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005019, allocations: 192 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.005026, allocations: 4.125 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.005031, allocations: 4 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.005051, allocations: 7.984 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.005272, allocations: 336.3 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.005385, allocations: 39.05 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.15e-05/0.005396, allocations: 11.78 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.005412, allocations: 11.92 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.005429, allocations: 41.33 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.00543, allocations: 0 / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002426/0.005672, allocations: 129.2 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.005692, allocations: 51.41 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.005934, allocations: 0.604 MB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.005939, allocations: 25.7 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.006033, allocations: 302.7 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.006048, allocations: 15.84 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.006071, allocations: 27.36 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.006141, allocations: 0.5547 MB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.006151, allocations: 4 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.006161, allocations: 4 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.481e-05/0.006186, allocations: 23.67 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.006187, allocations: 0 / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.422e-05/0.006251, allocations: 93.3 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.006262, allocations: 10.19 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006266, allocations: 4.234 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.006275, allocations: 7.938 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.006309, allocations: 12 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006312, allocations: 0 / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.006334, allocations: 4 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.006339, allocations: 3.984 kB / 384.6 MB, free: 18.01 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 5.627e-05/0.006395, allocations: 160.6 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.006424, allocations: 51.66 kB / 384.8 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.919e-05/0.006514, allocations: 93.17 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.006516, allocations: 0 / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006517, allocations: 4 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.00652, allocations: 0 / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.006715, allocations: 385.9 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006716, allocations: 0 / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.00674, allocations: 8 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006742, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.006747, allocations: 7.984 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006748, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.006749, allocations: 3.938 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.394e-05/0.006823, allocations: 243.6 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.006841, allocations: 35.72 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.006855, allocations: 0 / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.006892, allocations: 4 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.006911, allocations: 4.266 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.006915, allocations: 4.188 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.007048, allocations: 390.7 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007048, allocations: 0 / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000159/0.007207, allocations: 24 kB / 386 MB, free: 16.55 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.0007298/0.007937, allocations: 393.4 kB / 386.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.731e-05/0.008004, allocations: 35.61 kB / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008006, allocations: 0 / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.586e-05/0.008022, allocations: 19.62 kB / 386.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.008238, allocations: 32.73 kB / 386.5 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.008697, allocations: 0.5709 MB / 387.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.322e-05/0.00875, allocations: 123.1 kB / 387.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.532e-05/0.008776, allocations: 7.938 kB / 387.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.008818, allocations: 82.19 kB / 387.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008818, allocations: 0 / 387.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of Templates: time 0.003267/0.01209, allocations: 1.497 MB / 388.8 MB, free: 13.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.0991546912118793]