Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001325/0.001325, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001647/0.001647, allocations: 172.7 kB / 24.91 MB, free: 9.195 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2669/0.2669, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.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.Test31,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.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.954e-05, allocations: 3.016 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003179/0.003208, allocations: 1.729 MB / 325 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.004842, allocations: 1.305 MB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.004905, allocations: 4 kB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.005137, allocations: 23.78 kB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.005497, allocations: 83.5 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.005819, allocations: 127.6 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.00598, allocations: 80.33 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.006084, allocations: 7.984 kB / 326.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.006174, allocations: 43.91 kB / 326.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.006305, allocations: 23.91 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.006323, allocations: 4 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.006549, allocations: 103.8 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.978e-05/0.006619, allocations: 23.92 kB / 326.9 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.006644, allocations: 15.92 kB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.006886, allocations: 135.5 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.006892, allocations: 4 kB / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.006893, allocations: 0 / 327 MB, free: 5.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.006899, allocations: 0 / 327 MB, free: 5.926 MB / 298.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.0004218/0.007321, allocations: 317.4 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.007357, allocations: 12.02 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.007391, allocations: 4.938 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.007536, allocations: 125.7 kB / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.007545, allocations: 384 / 327.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.007563, allocations: 4.375 kB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.007689, allocations: 106.3 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.0077, allocations: 4.141 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.007709, allocations: 4.125 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.007715, allocations: 4 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.007741, allocations: 15.92 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.007961, allocations: 172.2 kB / 327.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.8e-05/0.008019, allocations: 22.58 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.008036, allocations: 8.859 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.008058, allocations: 4.031 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.008087, allocations: 46.48 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.008088, allocations: 0 / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003407/0.008428, allocations: 105.6 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.008468, allocations: 81.11 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.008572, allocations: 138.7 kB / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.008583, allocations: 29.64 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.00862, allocations: 96.05 kB / 328.3 MB, free: 4.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.008643, allocations: 23.81 kB / 328.3 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.008672, allocations: 13.72 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.008763, allocations: 322.8 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.008778, allocations: 4 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.008819, allocations: 51.39 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.008861, allocations: 28.84 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008863, allocations: 0 / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.758e-05/0.008941, allocations: 69.56 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.008956, allocations: 4 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.008961, allocations: 0 / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.008973, allocations: 0 / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.009058, allocations: 15.98 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.009062, allocations: 0 / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.00909, allocations: 8 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.009096, allocations: 0 / 328.8 MB, free: 3.934 MB / 298.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 7.573e-05/0.009172, allocations: 112.7 kB / 328.9 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.009204, allocations: 19.86 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.009334, allocations: 74.69 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.009337, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.009339, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.009345, allocations: 8 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.009607, allocations: 226.7 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.00961, allocations: 0 / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.009667, allocations: 15.98 kB / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.00967, allocations: 0 / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.009677, allocations: 0 / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.009681, allocations: 4 kB / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.009684, allocations: 4 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.009812, allocations: 155.7 kB / 329.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.009831, allocations: 11.95 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.009844, allocations: 0 / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.00989, allocations: 15.91 kB / 329.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.009924, allocations: 15.92 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.009928, allocations: 0 / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.00996, allocations: 27.19 kB / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.00996, allocations: 0 / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.01014, allocations: 43.86 kB / 329.5 MB, free: 3.156 MB / 298.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.001393/0.01153, allocations: 0.621 MB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.976e-05/0.01163, allocations: 32.83 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.01164, allocations: 0 / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.01166, allocations: 20.8 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01184, allocations: 26.59 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.01217, allocations: 190.5 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.0122, allocations: 59.34 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.553e-05/0.01225, allocations: 20.28 kB / 330.5 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.01232, allocations: 75.34 kB / 330.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01232, allocations: 0 / 330.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of Templates: time 0.004126/0.01645, allocations: 2.118 MB / 332.7 MB, free: 284 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0356075298041105]