Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001072/0.001072, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001543/0.001543, allocations: 170.2 kB / 24.91 MB, free: 9.207 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.9376/0.9376, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3006/0.3006, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.356e-05, allocations: 6.906 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003009/0.003033, allocations: 1.633 MB / 324.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.004062, allocations: 0.5335 MB / 325.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.00411, allocations: 0 / 325.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.004728, allocations: 455 kB / 325.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.00522, allocations: 295.2 kB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.005512, allocations: 123.6 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.00574, allocations: 163.7 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.005826, allocations: 8.812 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.005986, allocations: 115.8 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.006207, allocations: 195.6 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.006225, allocations: 4 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.006296, allocations: 27.92 kB / 326.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.006404, allocations: 83.7 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.006449, allocations: 39.69 kB / 326.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.006698, allocations: 183.2 kB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.0067, allocations: 0 / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.0067, allocations: 0 / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.006705, allocations: 3.938 kB / 327.1 MB, free: 5.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006164/0.007321, allocations: 0.5384 MB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.007362, allocations: 12.03 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.007413, allocations: 28.91 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.007649, allocations: 238.2 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.00766, allocations: 8.312 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.007671, allocations: 384 / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.007784, allocations: 54.95 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.007793, allocations: 192 / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.007802, allocations: 3.938 kB / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007808, allocations: 0 / 327.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.00783, allocations: 4 kB / 327.9 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.008071, allocations: 164.2 kB / 328.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.87e-05/0.00812, allocations: 26.52 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.008135, allocations: 8.922 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.008152, allocations: 0 / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.008179, allocations: 38.5 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00818, allocations: 0 / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.008333, allocations: 57.61 kB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.008365, allocations: 51.41 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.008851, allocations: 0.5283 MB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.008864, allocations: 25.7 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.008944, allocations: 141.4 kB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.008962, allocations: 11.94 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.008991, allocations: 13.72 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.009133, allocations: 354.7 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.009142, allocations: 0 / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/0.009151, allocations: 4 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.935e-05/0.00918, allocations: 12.84 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009182, allocations: 0 / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.697e-05/0.009259, allocations: 61.55 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.009271, allocations: 7.938 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.009275, allocations: 4.094 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.009288, allocations: 0 / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.009354, allocations: 7.984 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.009357, allocations: 0 / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.009394, allocations: 7.984 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.0094, allocations: 0 / 329.5 MB, free: 3.293 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 (2): * Single equations (assignments): 2 * 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.089e-05/0.009481, allocations: 112.7 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.009521, allocations: 27.91 kB / 329.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.009634, allocations: 72.73 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009636, allocations: 4.031 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.009639, allocations: 7.938 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009642, allocations: 0 / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.009814, allocations: 133.7 kB / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.009815, allocations: 0 / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.009843, allocations: 4 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.009846, allocations: 4 kB / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.009851, allocations: 0 / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.009853, allocations: 7.938 kB / 329.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009854, allocations: 0 / 329.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.78e-05/0.009952, allocations: 151.5 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.009989, allocations: 39.75 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01001, allocations: 4 kB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/0.01007, allocations: 3.938 kB / 330 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.01008, allocations: 3.984 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.01009, allocations: 0 / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002756/0.01036, allocations: 283.2 kB / 330.3 MB, free: 2.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01036, allocations: 3.938 kB / 330.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.0106, allocations: 19.89 kB / 330.3 MB, free: 2.375 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 (2): * Single equations (assignments): 2 * 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.001262/0.01186, allocations: 441.7 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.881e-05/0.01192, allocations: 8.859 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.01193, allocations: 7.938 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.01194, allocations: 8.859 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01219, allocations: 30.08 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.01296, allocations: 0.5657 MB / 331.4 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.01306, allocations: 123.2 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.01309, allocations: 4 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.01315, allocations: 55.36 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01315, allocations: 4 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of Templates: time 0.004385/0.01753, allocations: 1.218 MB / 332.8 MB, free: 108 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.0680455532856286]