Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.001116/0.001116, 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.001222/0.001222, allocations: 162.8 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 1.024/1.024, allocations: 177.1 MB / 206 MB, free: 4.504 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.1538/0.1538, 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.396e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002099/0.002123, allocations: 1.682 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003249, allocations: 1.286 MB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.003316, allocations: 0 / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.003515, allocations: 15.86 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.003789, allocations: 95.42 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.004006, allocations: 135.6 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.004155, allocations: 75.77 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00426, allocations: 7.984 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.00433, allocations: 39.91 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.004437, allocations: 27.89 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.004454, allocations: 4 kB / 380.6 MB, free: 22.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.004587, allocations: 103.8 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.004648, allocations: 16 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.004671, allocations: 19.91 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004866, allocations: 135.5 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.00487, allocations: 4 kB / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004871, allocations: 0 / 380.9 MB, free: 21.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.004877, allocations: 0 / 380.9 MB, free: 21.92 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.0004958/0.005373, allocations: 436 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.005417, allocations: 11.98 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.00547, allocations: 8.891 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.005634, allocations: 152.1 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.005647, allocations: 384 / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.005674, allocations: 8.359 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.005801, allocations: 112 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.005811, allocations: 192 / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.005819, allocations: 4.125 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.005825, allocations: 4 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.446e-05/0.005849, allocations: 11.92 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.006061, allocations: 264.4 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.006127, allocations: 39.05 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.006142, allocations: 11.69 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.006161, allocations: 11.88 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.006179, allocations: 41.33 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.00618, allocations: 0 / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003323/0.006512, allocations: 117.5 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.006537, allocations: 81.11 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.006612, allocations: 191.9 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.006619, allocations: 25.7 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.006658, allocations: 142.8 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.006678, allocations: 31.75 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.006706, allocations: 23.38 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.006752, allocations: 0.4923 MB / 383.1 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.006766, allocations: 7.984 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.006794, allocations: 53.06 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.00683, allocations: 31.89 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006831, allocations: 0 / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.449e-05/0.006905, allocations: 73.5 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.006916, allocations: 4 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.006923, allocations: 4 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.006933, allocations: 4.031 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.007006, allocations: 15.98 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.007009, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.007035, allocations: 4 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.007042, allocations: 4 kB / 383.3 MB, free: 19.3 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 (7): * Single equations (assignments): 7 * 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.748e-05/0.00709, allocations: 156.6 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.007113, allocations: 15.83 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.007218, allocations: 78.44 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007221, allocations: 4 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.007222, allocations: 0 / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007226, allocations: 4 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.007417, allocations: 309.9 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007418, allocations: 4 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.007462, allocations: 15.98 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007464, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.00747, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007471, allocations: 3.938 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007472, allocations: 0 / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.306e-05/0.007555, allocations: 215.8 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.007568, allocations: 11.94 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007581, allocations: 8 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.163e-05/0.007623, allocations: 8 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.007662, allocations: 12.2 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.007666, allocations: 0 / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.007705, allocations: 149.3 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007705, allocations: 0 / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.007914, allocations: 43.88 kB / 384.3 MB, free: 18.21 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 (7): * Single equations (assignments): 7 * 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.001004/0.008918, allocations: 487.3 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.009053, allocations: 35.66 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.009055, allocations: 0 / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.009081, allocations: 31.61 kB / 384.9 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.009296, allocations: 26.7 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.009601, allocations: 195.1 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.712e-05/0.009628, allocations: 67.2 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.009673, allocations: 15.97 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.009733, allocations: 86.19 kB / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009734, allocations: 0 / 385.2 MB, free: 17.42 MB / 314.7 MB Notification: Performance of Templates: time 0.003736/0.01347, allocations: 2.204 MB / 387.4 MB, free: 15.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.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.1728787440806627]