Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.001665/0.001665, allocations: 84.2 kB / 20.94 MB, free: 3.609 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.001419/0.001419, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 158.6 MB / 186 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1493/0.1493, allocations: 32.38 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.13e-05, allocations: 12.22 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.002114/0.002146, allocations: 1.599 MB / 349.3 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.002603, allocations: 327.4 kB / 349.6 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.002656, allocations: 4 kB / 349.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.002915, allocations: 87.7 kB / 349.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.003076, allocations: 71.72 kB / 349.8 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.003286, allocations: 91.73 kB / 349.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.003418, allocations: 79.75 kB / 349.9 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.003509, allocations: 8 kB / 349.9 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.003568, allocations: 39.89 kB / 350 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.003642, allocations: 51.88 kB / 350 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.003657, allocations: 0 / 350 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.003721, allocations: 31.92 kB / 350.1 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.003761, allocations: 23.92 kB / 350.1 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.003786, allocations: 11.92 kB / 350.1 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.003918, allocations: 71.75 kB / 350.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003921, allocations: 4 kB / 350.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003921, allocations: 4 kB / 350.2 MB, free: 7.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.003926, allocations: 0 / 350.2 MB, free: 7.258 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003294/0.004256, allocations: 431.9 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.004288, allocations: 15.97 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.004328, allocations: 12.84 kB / 350.6 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.00444, allocations: 145.8 kB / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.004448, allocations: 4.375 kB / 350.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.004467, allocations: 4.375 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.7e-05/0.004564, allocations: 50.95 kB / 350.8 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.004573, allocations: 192 / 350.8 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.004581, allocations: 8.125 kB / 350.8 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.004588, allocations: 4 kB / 350.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.004616, allocations: 11.94 kB / 350.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.004853, allocations: 287.8 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.004998, allocations: 39.05 kB / 351.2 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.005018, allocations: 15.69 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.005044, allocations: 3.938 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.005059, allocations: 41.33 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.00506, allocations: 0 / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003214/0.005382, allocations: 105.7 kB / 351.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.005402, allocations: 55.41 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.0055, allocations: 238.6 kB / 351.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.005505, allocations: 25.7 kB / 351.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.005541, allocations: 154.9 kB / 351.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.005558, allocations: 15.86 kB / 351.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.005584, allocations: 23.38 kB / 351.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.52e-05/0.005629, allocations: 0.4962 MB / 352.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.005646, allocations: 8 kB / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.005658, allocations: 7.984 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.005691, allocations: 23.88 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.005692, allocations: 4 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.569e-05/0.005758, allocations: 69.5 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.005774, allocations: 8 kB / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005778, allocations: 0 / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.005791, allocations: 0 / 352.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.165e-05/0.005832, allocations: 12 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.005837, allocations: 0 / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.761e-05/0.005854, allocations: 15.86 kB / 352.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005859, allocations: 0 / 352.5 MB, free: 4.75 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 (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 4.267e-05/0.005902, allocations: 156.6 kB / 352.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.005922, allocations: 23.84 kB / 352.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.006035, allocations: 70.77 kB / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006037, allocations: 0 / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.00604, allocations: 0 / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006043, allocations: 0 / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.006217, allocations: 333.4 kB / 353 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006218, allocations: 0 / 353 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.006245, allocations: 12 kB / 353.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.006248, allocations: 4 kB / 353.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.006254, allocations: 0 / 353.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.006256, allocations: 4.125 kB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.006257, allocations: 8 kB / 353.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.551e-05/0.006323, allocations: 215.8 kB / 353.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.00633, allocations: 11.94 kB / 353.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.006342, allocations: 4 kB / 353.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.00637, allocations: 0 / 353.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.006405, allocations: 4 kB / 353.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.006408, allocations: 3.984 kB / 353.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.773e-05/0.006456, allocations: 176.2 kB / 353.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006456, allocations: 0 / 353.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.006609, allocations: 12 kB / 353.5 MB, free: 3.652 MB / 282.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.0007564/0.007365, allocations: 374.7 kB / 353.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.007461, allocations: 35.61 kB / 353.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007462, allocations: 0 / 353.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.889e-05/0.007481, allocations: 19.69 kB / 353.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.007696, allocations: 21.17 kB / 353.9 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.008009, allocations: 206.7 kB / 354.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.008039, allocations: 75.22 kB / 354.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.008072, allocations: 11.97 kB / 354.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.008099, allocations: 16.48 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008099, allocations: 0 / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of Templates: time 0.002838/0.01094, allocations: 1.181 MB / 355.4 MB, free: 1.766 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/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: 3.364003075985238]