Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001001/0.001001, allocations: 80.8 kB / 21.49 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.001235/0.001235, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.016/1.016, 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.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.2738/0.2738, allocations: 34.26 MB / 296.1 MB, free: 0.7344 MB / 266.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.102e-05, allocations: 3.016 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002377/0.002398, allocations: 1.743 MB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.003177, allocations: 0.5451 MB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.003224, allocations: 4 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.003691, allocations: 459 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.004048, allocations: 287.2 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.004285, allocations: 135.5 kB / 328.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.004465, allocations: 168.2 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.004546, allocations: 11.98 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.004659, allocations: 119.8 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.004823, allocations: 195.6 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.004838, allocations: 4 kB / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.911e-05/0.004907, allocations: 31.92 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.004996, allocations: 83.72 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.005027, allocations: 39.72 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.005228, allocations: 207.1 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005231, allocations: 0 / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005231, allocations: 0 / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005236, allocations: 0 / 329.3 MB, free: 3.629 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.0004288/0.005664, allocations: 0.5385 MB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.005695, allocations: 8.031 kB / 329.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.005733, allocations: 28.91 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.005908, allocations: 242 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.005916, allocations: 4.375 kB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.005933, allocations: 8.328 kB / 330.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.00602, allocations: 54.95 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006029, allocations: 4.172 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.006036, allocations: 4.125 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.00604, allocations: 4 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.006061, allocations: 8 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.006254, allocations: 172.2 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.006368, allocations: 26.58 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.006381, allocations: 4.859 kB / 330.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.006398, allocations: 12.02 kB / 330.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.006416, allocations: 34.5 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.006417, allocations: 4 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002725/0.00669, allocations: 97.53 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.006717, allocations: 55.41 kB / 330.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.007034, allocations: 0.5244 MB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.007044, allocations: 25.7 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.007107, allocations: 145.3 kB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.007127, allocations: 15.8 kB / 331.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.007153, allocations: 17.7 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.007252, allocations: 362.7 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.007265, allocations: 3.938 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.007277, allocations: 11.98 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.007313, allocations: 21.05 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007314, allocations: 0 / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.388e-05/0.007398, allocations: 65.59 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007411, allocations: 4 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007415, allocations: 0 / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.007426, allocations: 4 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.007478, allocations: 15.92 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.00748, allocations: 0 / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.007503, allocations: 0 / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.007509, allocations: 12 kB / 331.8 MB, free: 0.9531 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 (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 6.535e-05/0.007574, allocations: 108.7 kB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.007604, allocations: 27.91 kB / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.00772, allocations: 81.23 kB / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007721, allocations: 0 / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.007723, allocations: 0 / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007725, allocations: 0 / 332 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.008026, allocations: 282.8 kB / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008027, allocations: 0 / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.008059, allocations: 8 kB / 332.3 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.008063, allocations: 11.98 kB / 332.3 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.008068, allocations: 0 / 332.3 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008069, allocations: 0 / 332.3 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.008071, allocations: 4.172 kB / 332.3 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.49e-05/0.008156, allocations: 171.3 kB / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.008178, allocations: 31.72 kB / 332.5 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.008194, allocations: 8 kB / 332.5 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.008233, allocations: 0 / 332.5 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.008256, allocations: 7.984 kB / 332.5 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.008259, allocations: 0 / 332.5 MB, free: 172 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.008448, allocations: 279.2 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.008448, allocations: 4 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000143/0.008591, allocations: 27.94 kB / 332.8 MB, free: 15.86 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.001103/0.009695, allocations: 497.2 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.216e-05/0.009757, allocations: 24.78 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.009764, allocations: 4 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.00978, allocations: 16.86 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.009974, allocations: 51.14 kB / 333.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.01059, allocations: 0.5787 MB / 334 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/0.01068, allocations: 122.4 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.54e-05/0.0107, allocations: 8 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.01075, allocations: 59.36 kB / 334.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01075, allocations: 0 / 334.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of Templates: time 0.003721/0.01448, allocations: 1.461 MB / 335.6 MB, free: 13.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.984562053810805]