Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007923/0.0007923, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001886, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006587/0.0006587, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000926/0.001585, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9106/0.9106, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1701/1.081, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1684/0.1684, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01877/0.1872, allocations: 12.53 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.287e-05, allocations: 4.984 kB / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.001865/0.001877, allocations: 1.719 MB / 287.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005104/0.002388, allocations: 442.8 kB / 288 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.00243, allocations: 0 / 288 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.00279, allocations: 487 kB / 288.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.003005, allocations: 271.3 kB / 288.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.00323, allocations: 143.4 kB / 288.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.003405, allocations: 163.7 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.003482, allocations: 15.97 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.003632, allocations: 167.6 kB / 289.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.003786, allocations: 187.7 kB / 289.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.003803, allocations: 4 kB / 289.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.00389, allocations: 55.84 kB / 289.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/0.003967, allocations: 79.72 kB / 289.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.003995, allocations: 39.75 kB / 289.6 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.00418, allocations: 211 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.00419, allocations: 0 / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004191, allocations: 0 / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.004198, allocations: 0 / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004474/0.004646, allocations: 0.5876 MB / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.004677, allocations: 16.02 kB / 290.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.004714, allocations: 20.92 kB / 290.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.004875, allocations: 238.1 kB / 290.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.004883, allocations: 4.375 kB / 290.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.004902, allocations: 4.375 kB / 290.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.004992, allocations: 70.88 kB / 290.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.004999, allocations: 192 / 290.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.005006, allocations: 4.125 kB / 290.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.00501, allocations: 0 / 290.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.005033, allocations: 11.98 kB / 290.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.005224, allocations: 184.2 kB / 291 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.005334, allocations: 38.55 kB / 291 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.00535, allocations: 16.92 kB / 291 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.005366, allocations: 4 kB / 291 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.005387, allocations: 38.5 kB / 291.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.005387, allocations: 0 / 291.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000507/0.005894, allocations: 217.4 kB / 291.3 MB, free: 2.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.005922, allocations: 51.41 kB / 291.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.006205, allocations: 0.5166 MB / 291.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.006216, allocations: 29.7 kB / 291.9 MB, free: 2.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.006274, allocations: 153.2 kB / 292 MB, free: 2.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.006301, allocations: 39.62 kB / 292 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.006329, allocations: 25.7 kB / 292.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.006419, allocations: 362.6 kB / 292.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.006434, allocations: 8 kB / 292.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.006447, allocations: 8 kB / 292.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.006486, allocations: 44.7 kB / 292.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006487, allocations: 0 / 292.5 MB, free: 1.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.532e-05/0.006552, allocations: 77.66 kB / 292.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006561, allocations: 4 kB / 292.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006565, allocations: 0 / 292.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.006573, allocations: 8 kB / 292.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.006627, allocations: 23.98 kB / 292.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.00663, allocations: 0 / 292.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/0.006679, allocations: 11.98 kB / 292.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.006684, allocations: 0.5625 kB / 292.6 MB, free: 1.465 MB / 282.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 (11): * Single equations (assignments): 11 * 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.11e-05/0.006745, allocations: 124.5 kB / 292.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.006769, allocations: 23.97 kB / 292.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.006873, allocations: 113.5 kB / 292.9 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.006875, allocations: 4 kB / 292.9 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006876, allocations: 4 kB / 292.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006879, allocations: 0 / 292.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.007122, allocations: 340.1 kB / 293.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007123, allocations: 0 / 293.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.007165, allocations: 23.98 kB / 293.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.007188, allocations: 39.72 kB / 293.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007189, allocations: 0 / 293.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.007195, allocations: 4 kB / 293.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.007198, allocations: 7.938 kB / 293.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.0072, allocations: 8 kB / 293.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.163e-05/0.007292, allocations: 189.8 kB / 293.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.007306, allocations: 4 kB / 293.5 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.007348, allocations: 7.984 kB / 293.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.007377, allocations: 15.86 kB / 293.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.007381, allocations: 11.94 kB / 293.5 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.007532, allocations: 275.2 kB / 293.8 MB, free: 228 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007532, allocations: 0 / 293.8 MB, free: 228 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.007675, allocations: 31.94 kB / 293.8 MB, free: 196 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001219/0.008894, allocations: 0.6204 MB / 294.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.623e-05/0.00897, allocations: 48.73 kB / 294.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.008978, allocations: 11.92 kB / 294.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.009014, allocations: 36.84 kB / 294.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.009211, allocations: 105.1 kB / 294.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.009848, allocations: 0.6295 MB / 295.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.009913, allocations: 123.2 kB / 295.4 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.00995, allocations: 24.47 kB / 295.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.01, allocations: 59.38 kB / 295.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01, allocations: 0 / 295.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Templates: time 0.003543/0.01354, allocations: 1.838 MB / 297.3 MB, free: 12.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.703434331342578]