Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.0009648/0.0009648, allocations: 80.92 kB / 21.49 MB, free: 2.996 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: 168.9 kB / 24.91 MB, free: 8.723 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.9688/0.9688, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1404/0.1404, allocations: 32.8 MB / 294.6 MB, free: 15.44 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 323.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.234e-05, allocations: 8.219 kB / 323.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002725/0.002747, allocations: 1.744 MB / 325 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006323/0.003379, allocations: 0.8065 MB / 325.8 MB, free: 176 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.003414, allocations: 0 / 325.8 MB, free: 176 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.00364, allocations: 31.83 kB / 325.9 MB, free: 144 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.00382, allocations: 39.77 kB / 325.9 MB, free: 104 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.826e-06/0.003823, allocations: 0 / 325.9 MB, free: 104 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.00396, allocations: 35.84 kB / 325.9 MB, free: 68 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.003998, allocations: 15.92 kB / 325.9 MB, free: 52 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.004079, allocations: 11.98 kB / 326 MB, free: 40 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.379e-05/0.004103, allocations: 11.92 kB / 326 MB, free: 28 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.004112, allocations: 0 / 326 MB, free: 28 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.457e-05/0.004157, allocations: 8 kB / 326 MB, free: 20 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.0042, allocations: 19.92 kB / 326 MB, free: 0 / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.00422, allocations: 15.97 kB / 326 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.004337, allocations: 51.73 kB / 326.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004339, allocations: 0 / 326.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00434, allocations: 0 / 326.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004344, allocations: 0 / 326.1 MB, free: 15.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00025/0.004594, allocations: 268.7 kB / 326.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.004625, allocations: 11.98 kB / 326.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.004652, allocations: 8.922 kB / 326.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.004768, allocations: 129.6 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.004774, allocations: 384 / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.00478, allocations: 4.375 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.004886, allocations: 94.14 kB / 326.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.004893, allocations: 192 / 326.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.0049, allocations: 4.375 kB / 326.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.004939, allocations: 28.34 kB / 326.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.004966, allocations: 27.88 kB / 326.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.005319, allocations: 0.7756 MB / 327.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.005379, allocations: 169.2 kB / 327.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.005402, allocations: 84.14 kB / 327.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.00542, allocations: 75.28 kB / 327.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.005455, allocations: 109.8 kB / 327.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.005455, allocations: 0 / 327.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.513e-05/0.005511, allocations: 33.69 kB / 327.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.005552, allocations: 126.7 kB / 328 MB, free: 13.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.00567, allocations: 181.2 kB / 328.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.005679, allocations: 29.7 kB / 328.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.005752, allocations: 147.6 kB / 328.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.005755, allocations: 7.922 kB / 328.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.0058, allocations: 37.66 kB / 328.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.005888, allocations: 322.8 kB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.005903, allocations: 11.98 kB / 328.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.005976, allocations: 136.2 kB / 328.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.006106, allocations: 183.7 kB / 329 MB, free: 12.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.00611, allocations: 4 kB / 329 MB, free: 12.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001612/0.006271, allocations: 141.6 kB / 329.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.006285, allocations: 8 kB / 329.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.006292, allocations: 4 kB / 329.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.006308, allocations: 8 kB / 329.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.006395, allocations: 35.92 kB / 329.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.006403, allocations: 11.94 kB / 329.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.00646, allocations: 23.83 kB / 329.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.00647, allocations: 11.98 kB / 329.3 MB, free: 12.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 8.532e-05/0.006556, allocations: 204.1 kB / 329.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.006603, allocations: 108.9 kB / 329.6 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.006648, allocations: 120.7 kB / 329.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.211e-05/0.0067, allocations: 180.3 kB / 329.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-05/0.006749, allocations: 180.2 kB / 330 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.054e-05/0.0068, allocations: 184.2 kB / 330.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.00696, allocations: 337.4 kB / 330.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/0.006994, allocations: 101 kB / 330.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.007026, allocations: 108.9 kB / 330.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-05/0.007077, allocations: 176.3 kB / 330.9 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.007129, allocations: 180.3 kB / 331.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-05/0.007182, allocations: 184.2 kB / 331.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.762e-05/0.007229, allocations: 180.3 kB / 331.5 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.007345, allocations: 315.7 kB / 331.8 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.007386, allocations: 112.9 kB / 331.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/0.007751, allocations: 188.2 kB / 332.1 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.007803, allocations: 101 kB / 332.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.007854, allocations: 184.2 kB / 332.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.007881, allocations: 105.3 kB / 332.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.007917, allocations: 39 kB / 332.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007917, allocations: 0 / 332.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008084, allocations: 12 kB / 332.5 MB, free: 9.004 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 (0): * Single equations (assignments): 0 * 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.0005071/0.008591, allocations: 303.5 kB / 332.8 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.008693, allocations: 60.62 kB / 332.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.008702, allocations: 5.25 kB / 332.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.008702, allocations: 0 / 332.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.008911, allocations: 463.6 kB / 333.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.00918, allocations: 241 kB / 333.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.009219, allocations: 59.84 kB / 333.6 MB, free: 7.914 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.00928, allocations: 17.14 kB / 333.6 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.009329, allocations: 63.36 kB / 333.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.00933, allocations: 0 / 333.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of Templates: time 0.00246/0.01179, allocations: 0.7769 MB / 334.5 MB, free: 7.062 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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: 2.9246979891322553]