Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001858/0.001858, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002806/0.002806, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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.555/1.555, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2272/0.2272, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 75.89 kB / 0.4943 GB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3604, allocations: 65.48 MB / 0.5583 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003359/0.3637, allocations: 1.667 MB / 0.5599 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.3655, allocations: 0.9549 MB / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.3656, allocations: 0 / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.3659, allocations: 55.75 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.3663, allocations: 103.5 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.3665, allocations: 67.73 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.3666, allocations: 107.6 kB / 0.5611 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.3667, allocations: 8.234 kB / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.3668, allocations: 39.8 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.08e-05/0.3669, allocations: 31.78 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3669, allocations: 4 kB / 0.5612 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.367, allocations: 39.92 kB / 0.5612 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.3671, allocations: 19.92 kB / 0.5613 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.3671, allocations: 35.67 kB / 0.5613 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3674, allocations: 129.8 kB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3674, allocations: 0 / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3674, allocations: 0 / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3674, allocations: 0 / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006548/0.368, allocations: 365.4 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3681, allocations: 12.03 kB / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3681, allocations: 8.891 kB / 0.5618 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.3684, allocations: 167.2 kB / 0.562 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3684, allocations: 384 / 0.562 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3684, allocations: 4.125 kB / 0.562 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.3686, allocations: 57.61 kB / 0.562 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3686, allocations: 0 / 0.562 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3686, allocations: 4 kB / 0.562 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3686, allocations: 0 / 0.562 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.3687, allocations: 19.98 kB / 0.562 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.3689, allocations: 137.3 kB / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.3691, allocations: 50.61 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3691, allocations: 20.84 kB / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3691, allocations: 0 / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.3693, allocations: 83.2 kB / 0.5623 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3693, allocations: 0 / 0.5623 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003019/0.3696, allocations: 109.5 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.3697, allocations: 55.41 kB / 0.5625 GB, free: 2.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002983/0.37, allocations: 275.8 kB / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.37, allocations: 25.7 kB / 0.5628 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.3701, allocations: 116.1 kB / 0.5629 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.3701, allocations: 11.91 kB / 0.5629 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3701, allocations: 21.7 kB / 0.5629 GB, free: 2.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3703, allocations: 334.8 kB / 0.5632 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.3704, allocations: 15.98 kB / 0.5632 GB, free: 2.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.3704, allocations: 25.72 kB / 0.5633 GB, free: 2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3705, allocations: 45.7 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3705, allocations: 0 / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001774/0.3707, allocations: 97.45 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3707, allocations: 6.5 kB / 0.5634 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3707, allocations: 4 kB / 0.5634 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3707, allocations: 0 / 0.5634 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.991e-05/0.3708, allocations: 15.97 kB / 0.5634 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3708, allocations: 3.984 kB / 0.5634 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.3709, allocations: 11.89 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.3709, allocations: 0 / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001238/0.371, allocations: 137.8 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.371, allocations: 19.84 kB / 0.5636 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3713, allocations: 98.75 kB / 0.5637 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3713, allocations: 4 kB / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3713, allocations: 384 / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3713, allocations: 4 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.3714, allocations: 141.3 kB / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3714, allocations: 4 kB / 0.5638 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.3714, allocations: 4 kB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3714, allocations: 3.938 kB / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3715, allocations: 0 / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3715, allocations: 0 / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3715, allocations: 0 / 0.5638 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3717, allocations: 125 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.3717, allocations: 19.78 kB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3717, allocations: 7.984 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.3718, allocations: 4 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3718, allocations: 4 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3718, allocations: 3.984 kB / 0.564 GB, free: 1.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.372, allocations: 204.6 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.372, allocations: 0 / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3722, allocations: 23.98 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001647/0.3739, allocations: 434.6 kB / 0.5646 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.3741, allocations: 39.92 kB / 0.5647 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3741, allocations: 4.062 kB / 0.5647 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.3741, allocations: 23.98 kB / 0.5647 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.3744, allocations: 27.17 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.375, allocations: 312.1 kB / 0.565 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3751, allocations: 112.3 kB / 0.5651 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.3751, allocations: 15.44 kB / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3751, allocations: 0 / 0.5651 GB, free: 128 kB / 398.1 MB Notification: Performance of Templates: time 0.004133/0.3793, allocations: 1.928 MB / 0.567 GB, free: 14.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.040924107655883]