Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.0009331/0.0009331, 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.001048/0.001048, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9887/0.9887, 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.265/0.265, allocations: 32.8 MB / 294.6 MB, free: 1.156 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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.315e-05, allocations: 7.188 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002322/0.002345, allocations: 1.678 MB / 325 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.00354, allocations: 1.289 MB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.003593, allocations: 0 / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.003795, allocations: 31.78 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.00404, allocations: 75.56 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.004269, allocations: 123.5 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.004385, allocations: 63.84 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.513e-05/0.004461, allocations: 11.98 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.004518, allocations: 35.91 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.004613, allocations: 23.91 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.004626, allocations: 4 kB / 326.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.004778, allocations: 103.8 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.004811, allocations: 8 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.004835, allocations: 20.53 kB / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.005007, allocations: 123.6 kB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005009, allocations: 7.938 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.00501, allocations: 0 / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.005014, allocations: 0 / 326.9 MB, free: 6.004 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.0003007/0.005314, allocations: 305.4 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.005342, allocations: 16.02 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.005369, allocations: 8.938 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.005497, allocations: 121.7 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-06/0.005504, allocations: 384 / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.005527, allocations: 8.375 kB / 327.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.618e-05/0.005623, allocations: 90.36 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.00563, allocations: 4.188 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.005639, allocations: 8.125 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.005643, allocations: 3.938 kB / 327.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.00566, allocations: 4 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.005851, allocations: 167.1 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.005955, allocations: 33.39 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.00597, allocations: 16.8 kB / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.005982, allocations: 0 / 327.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.006001, allocations: 38.56 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.006002, allocations: 0 / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002379/0.00624, allocations: 97.55 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.006269, allocations: 77.11 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.006366, allocations: 140.3 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.006379, allocations: 25.7 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.006418, allocations: 96.08 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.006441, allocations: 19.83 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.00648, allocations: 21.7 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.006568, allocations: 318.8 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.006582, allocations: 0 / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.006618, allocations: 47.41 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.006658, allocations: 27.89 kB / 328.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.006659, allocations: 0 / 328.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.226e-05/0.006732, allocations: 53.56 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.006745, allocations: 6.344 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.006752, allocations: 3.984 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.006766, allocations: 4 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.006826, allocations: 15.98 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.006828, allocations: 0 / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.006857, allocations: 4 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.006862, allocations: 0 / 328.6 MB, free: 4.066 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.475e-05/0.006927, allocations: 116.7 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.006958, allocations: 11.92 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.007065, allocations: 62.09 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.007068, allocations: 0 / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.007069, allocations: 0 / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007073, allocations: 3.984 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.007319, allocations: 203.1 kB / 329 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.007321, allocations: 3.938 kB / 329 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.007365, allocations: 15.94 kB / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.007367, allocations: 0 / 329 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.007378, allocations: 8 kB / 329 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.00738, allocations: 3.938 kB / 329 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.007383, allocations: 3.984 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.007485, allocations: 143.7 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.007499, allocations: 11.89 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.007512, allocations: 0 / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.007573, allocations: 11.98 kB / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.007597, allocations: 0 / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.007601, allocations: 0 / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.007643, allocations: 31.66 kB / 329.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007643, allocations: 0 / 329.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.007884, allocations: 43.86 kB / 329.3 MB, free: 3.344 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 (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.00173/0.009614, allocations: 0.6297 MB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.08e-05/0.009705, allocations: 20.84 kB / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.009708, allocations: 0 / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.729e-05/0.009736, allocations: 20.98 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.009945, allocations: 27.86 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.01025, allocations: 162.5 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.787e-05/0.0103, allocations: 71.28 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.01035, allocations: 11.98 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.01043, allocations: 67.36 kB / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01043, allocations: 0 / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of Templates: time 0.004168/0.0146, allocations: 1.997 MB / 332.3 MB, free: 0.6172 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.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.9478654311969876]