Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0009139/0.0009139, 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.001032/0.001032, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.9192/0.9192, allocations: 177.1 MB / 206.1 MB, free: 4.504 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.1717/0.1717, allocations: 34.26 MB / 296.9 MB, free: 13.91 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.241e-05, allocations: 6.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.001638/0.001651, allocations: 1.682 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.002581, allocations: 1.29 MB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.002631, allocations: 0 / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.002797, allocations: 19.84 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.003028, allocations: 91.44 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.003221, allocations: 135.6 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.003325, allocations: 67.78 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.003397, allocations: 19.97 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.003455, allocations: 35.91 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.003535, allocations: 31.91 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003547, allocations: 4 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.003652, allocations: 99.75 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.003697, allocations: 15.92 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.003715, allocations: 23.91 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.003859, allocations: 131.6 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562e-06/0.003861, allocations: 7.938 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.1e-07/0.003861, allocations: 0 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.003865, allocations: 0 / 383 MB, free: 19.71 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.0002881/0.004153, allocations: 435.9 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.004186, allocations: 8.031 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.004222, allocations: 12.89 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.004322, allocations: 132.5 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.004331, allocations: 8.375 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004346, allocations: 384 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004457, allocations: 115.9 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.004466, allocations: 4.188 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.004473, allocations: 4.125 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.004479, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.004503, allocations: 15.97 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.004677, allocations: 256.4 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.796e-05/0.004725, allocations: 38.98 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.327e-05/0.004738, allocations: 11.69 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.004752, allocations: 4 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.004765, allocations: 37.33 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.004766, allocations: 4 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002605/0.005026, allocations: 121.7 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.005046, allocations: 85.09 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.005107, allocations: 191.9 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-06/0.005113, allocations: 25.7 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.005137, allocations: 142.8 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.005154, allocations: 27.75 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.005181, allocations: 27.36 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.005218, allocations: 0.4884 MB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.005231, allocations: 4 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.005255, allocations: 61.06 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.005287, allocations: 39.59 kB / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005288, allocations: 0 / 385.2 MB, free: 17.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.728e-05/0.005355, allocations: 65.67 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.005364, allocations: 7.938 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.005368, allocations: 3.984 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.812e-06/0.005375, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.005433, allocations: 15.98 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.005435, allocations: 4 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.005459, allocations: 8.031 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005464, allocations: 0 / 385.3 MB, free: 17.11 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 3.699e-05/0.005501, allocations: 164.5 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.005523, allocations: 11.89 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.563e-05/0.005608, allocations: 74.44 kB / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.00561, allocations: 0 / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005611, allocations: 0 / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005614, allocations: 0 / 385.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.005775, allocations: 318.3 kB / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.005776, allocations: 0 / 385.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.005811, allocations: 23.98 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.005813, allocations: 0 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.005818, allocations: 4 kB / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.005819, allocations: 0 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00582, allocations: 80 / 385.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.022e-05/0.00589, allocations: 227.7 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.005897, allocations: 7.938 kB / 386.1 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.005908, allocations: 4 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.803e-05/0.005946, allocations: 4 kB / 386.1 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.005968, allocations: 7.984 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.005972, allocations: 4 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.864e-05/0.006001, allocations: 148.9 kB / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006001, allocations: 0 / 386.3 MB, free: 16.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.00618, allocations: 39.88 kB / 386.3 MB, free: 16.02 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.0009557/0.007136, allocations: 493.1 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.007211, allocations: 39.59 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.007213, allocations: 0 / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.007233, allocations: 23.67 kB / 386.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.007414, allocations: 34.77 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.007645, allocations: 190.2 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.342e-05/0.007669, allocations: 63.34 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.007706, allocations: 12 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.00776, allocations: 98.11 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00776, allocations: 0 / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.002886/0.01065, allocations: 2.198 MB / 389.5 MB, free: 13.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.13020694302395]