Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001918/0.001918, 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.002332/0.002332, allocations: 209 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2285/0.2285, allocations: 44.94 MB / 359.6 MB, free: 6.031 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [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.002127/0.002127, allocations: 67.89 kB / 0.4943 GB, free: 9.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 65.46 MB / 0.5582 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003192/0.3366, allocations: 1.674 MB / 0.5599 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3383, allocations: 0.9442 MB / 0.5608 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.3384, allocations: 0 / 0.5608 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.3387, allocations: 71.7 kB / 0.5609 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.339, allocations: 107.6 kB / 0.561 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3392, allocations: 75.67 kB / 0.561 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3393, allocations: 111.6 kB / 0.5612 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.3394, allocations: 4.234 kB / 0.5612 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.3395, allocations: 47.78 kB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.3396, allocations: 51.75 kB / 0.5613 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3396, allocations: 4 kB / 0.5613 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.3397, allocations: 31.98 kB / 0.5613 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.3398, allocations: 19.92 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.3398, allocations: 23.86 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.34, allocations: 113.9 kB / 0.5614 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.34, allocations: 4 kB / 0.5614 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.34, allocations: 0 / 0.5614 GB, free: 4.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.34, allocations: 3.938 kB / 0.5614 GB, free: 4.16 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.0005324/0.3405, allocations: 333.6 kB / 0.5618 GB, free: 3.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3406, allocations: 8.031 kB / 0.5618 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.3406, allocations: 16.84 kB / 0.5618 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3409, allocations: 143.1 kB / 0.5619 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3409, allocations: 4.375 kB / 0.5619 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3409, allocations: 4.125 kB / 0.5619 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.341, allocations: 53.67 kB / 0.562 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.341, allocations: 0 / 0.562 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.341, allocations: 11.92 kB / 0.562 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3411, allocations: 0 / 0.562 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.3411, allocations: 12 kB / 0.562 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.3413, allocations: 133.3 kB / 0.5621 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3415, allocations: 54.61 kB / 0.5622 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.3415, allocations: 20.84 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3415, allocations: 0 / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.3417, allocations: 75.27 kB / 0.5623 GB, free: 3.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3417, allocations: 0 / 0.5623 GB, free: 3.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002861/0.342, allocations: 101.6 kB / 0.5624 GB, free: 3.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.342, allocations: 51.41 kB / 0.5624 GB, free: 3.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.3422, allocations: 198.3 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3422, allocations: 25.7 kB / 0.5626 GB, free: 2.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.3423, allocations: 104.1 kB / 0.5627 GB, free: 2.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.3424, allocations: 15.84 kB / 0.5628 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3424, allocations: 25.7 kB / 0.5628 GB, free: 2.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3425, allocations: 322.8 kB / 0.5631 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.333e-05/0.3426, allocations: 23.92 kB / 0.5631 GB, free: 2.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.3427, allocations: 33.64 kB / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.3428, allocations: 45.95 kB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.3428, allocations: 4 kB / 0.5632 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001656/0.3429, allocations: 89.47 kB / 0.5633 GB, free: 2.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.343, allocations: 4 kB / 0.5633 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.343, allocations: 4 kB / 0.5633 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.343, allocations: 0 / 0.5633 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.343, allocations: 16.02 kB / 0.5633 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3431, allocations: 0 / 0.5633 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.3431, allocations: 7.938 kB / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.3431, allocations: 0 / 0.5633 GB, free: 2.074 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.0001132/0.3432, allocations: 129.8 kB / 0.5634 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.3432, allocations: 11.89 kB / 0.5634 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.3435, allocations: 94.86 kB / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3435, allocations: 0 / 0.5635 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3435, allocations: 3.984 kB / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3435, allocations: 0 / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3436, allocations: 137.2 kB / 0.5637 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3436, allocations: 4 kB / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.3436, allocations: 4 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3436, allocations: 3.938 kB / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3436, allocations: 0 / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3436, allocations: 0 / 0.5637 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3437, allocations: 3.984 kB / 0.5637 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.3439, allocations: 121 kB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.3439, allocations: 19.83 kB / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3439, allocations: 192 / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.3439, allocations: 12 kB / 0.5638 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.344, allocations: 3.984 kB / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.344, allocations: 4 kB / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.3441, allocations: 152.2 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3441, allocations: 0 / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.3443, allocations: 20 kB / 0.564 GB, free: 1.289 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.001591/0.3459, allocations: 440.8 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.3461, allocations: 51.91 kB / 0.5645 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3461, allocations: 4.062 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.291e-05/0.3462, allocations: 16 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3464, allocations: 35.39 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.3469, allocations: 239.6 kB / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.726e-05/0.347, allocations: 97.19 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.347, allocations: 15.42 kB / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.347, allocations: 0 / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Templates: time 0.00381/0.3508, allocations: 1.751 MB / 0.5666 GB, free: 14.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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: 7.8682390777394176]