Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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.001583/0.001583, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00179/0.00179, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2304/0.2304, allocations: 44.94 MB / 359.6 MB, free: 6.059 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.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") [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.002109/0.002109, allocations: 71.89 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 65.47 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002959/0.3575, allocations: 1.652 MB / 0.5598 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3587, allocations: 0.6167 MB / 0.5604 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.79e-05/0.3588, allocations: 7.938 kB / 0.5604 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.417e-05/0.3588, allocations: 11.86 kB / 0.5604 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.359, allocations: 19.75 kB / 0.5604 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.3594, allocations: 159.4 kB / 0.5606 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.3597, allocations: 155.7 kB / 0.5607 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3598, allocations: 31.75 kB / 0.5608 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.36, allocations: 79.75 kB / 0.5608 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3601, allocations: 55.7 kB / 0.5609 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.3601, allocations: 12 kB / 0.5609 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.736e-05/0.3602, allocations: 19.94 kB / 0.5609 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.3602, allocations: 39.83 kB / 0.561 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.3603, allocations: 47.78 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.3605, allocations: 135.2 kB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3605, allocations: 0 / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3605, allocations: 0 / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3605, allocations: 4 kB / 0.5611 GB, free: 4.434 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007064/0.3612, allocations: 389.6 kB / 0.5615 GB, free: 4.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3612, allocations: 15.97 kB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.3614, allocations: 24.83 kB / 0.5616 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3618, allocations: 164 kB / 0.5617 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3618, allocations: 8.375 kB / 0.5617 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3618, allocations: 8.375 kB / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.3623, allocations: 337.1 kB / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3623, allocations: 0 / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.3624, allocations: 4 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3624, allocations: 8 kB / 0.5621 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.3628, allocations: 119.9 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008183/0.3636, allocations: 372 kB / 0.5625 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.3642, allocations: 190.4 kB / 0.5627 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.3644, allocations: 76.8 kB / 0.5628 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3644, allocations: 3.984 kB / 0.5628 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3645, allocations: 34.56 kB / 0.5628 GB, free: 2.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.3645, allocations: 0 / 0.5628 GB, free: 2.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001441/0.3659, allocations: 492.8 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.366, allocations: 106.8 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3661, allocations: 158 kB / 0.5635 GB, free: 1.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3662, allocations: 25.7 kB / 0.5636 GB, free: 1.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.3662, allocations: 116.2 kB / 0.5637 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.3663, allocations: 35.69 kB / 0.5637 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.3663, allocations: 25.7 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3665, allocations: 322.8 kB / 0.564 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.3667, allocations: 72.8 kB / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.367, allocations: 153.9 kB / 0.5643 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.3674, allocations: 140.7 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3674, allocations: 0 / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004884/0.3679, allocations: 181.5 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3679, allocations: 7.938 kB / 0.5646 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3679, allocations: 4 kB / 0.5646 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3679, allocations: 0 / 0.5646 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3681, allocations: 39.91 kB / 0.5646 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3681, allocations: 7.938 kB / 0.5646 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.3683, allocations: 19.97 kB / 0.5646 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3683, allocations: 4 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001604/0.3684, allocations: 124.1 kB / 0.5648 GB, free: 448 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001422/0.3686, allocations: 106 kB / 0.5649 GB, free: 320 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001935/0.3688, allocations: 85.16 kB / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.71e-07/0.3688, allocations: 0 / 0.5649 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002467/0.369, allocations: 117.5 kB / 0.5651 GB, free: 108 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.369, allocations: 8 kB / 0.5651 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.369, allocations: 8.016 kB / 0.5651 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.369, allocations: 0 / 0.5651 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.3691, allocations: 19.98 kB / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-06/0.3691, allocations: 0 / 0.5651 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.3692, allocations: 19.92 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.3692, allocations: 4 kB / 0.5651 GB, free: 48 kB / 398.1 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 (10): * Single equations (assignments): 10 * 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.0001308/0.3694, allocations: 184.3 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.3694, allocations: 7.953 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.3694, allocations: 16.72 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3695, allocations: 3.984 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3695, allocations: 3.938 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3695, allocations: 4 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008637/0.3703, allocations: 438.9 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3703, allocations: 3.938 kB / 0.5657 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.3705, allocations: 39.97 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3705, allocations: 0 / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3705, allocations: 7.938 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3705, allocations: 0.625 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3705, allocations: 0 / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.3713, allocations: 360.1 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.3713, allocations: 7.984 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3714, allocations: 7.938 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3716, allocations: 44.14 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.3717, allocations: 11.98 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3717, allocations: 11.92 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.318e-05/0.3718, allocations: 107.3 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3718, allocations: 0 / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.3721, allocations: 32 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001254/0.3722, allocations: 107.2 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006008/0.3728, allocations: 183.8 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3728, allocations: 0 / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.373, allocations: 79.88 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.3734, allocations: 40.09 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.3741, allocations: 318.4 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.004e-05/0.3742, allocations: 93.69 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.3743, allocations: 15.44 kB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3743, allocations: 0 / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Templates: time 0.003784/0.3781, allocations: 1.869 MB / 0.569 GB, free: 11.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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.8016815348528326]