Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00219/0.00219, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002744/0.002744, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.579/1.579, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2538/0.2538, allocations: 46.91 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.91 kB / 0.4914 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.143, allocations: 65.99 MB / 0.5558 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003683/0.1467, allocations: 1.693 MB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.1481, allocations: 0.6663 MB / 0.5581 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1483, allocations: 7.875 kB / 0.5582 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.1483, allocations: 7.875 kB / 0.5582 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1485, allocations: 27.73 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.149, allocations: 146.7 kB / 0.5583 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.1493, allocations: 151.7 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1494, allocations: 40.88 kB / 0.5585 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.1496, allocations: 75.75 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1498, allocations: 59.69 kB / 0.5586 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.1498, allocations: 16 kB / 0.5587 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.1499, allocations: 16 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.1499, allocations: 35.89 kB / 0.5587 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.15, allocations: 63.59 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1503, allocations: 135.5 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1503, allocations: 0 / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1503, allocations: 0 / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1503, allocations: 4 kB / 0.5589 GB, free: 2.176 MB / 414.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.0008933/0.1512, allocations: 462.8 kB / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1512, allocations: 8.031 kB / 0.5593 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.1515, allocations: 28.77 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.1519, allocations: 224.2 kB / 0.5596 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.1519, allocations: 8.375 kB / 0.5596 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.152, allocations: 8.375 kB / 0.5596 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.1525, allocations: 180.4 kB / 0.5598 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1525, allocations: 4 kB / 0.5598 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.1525, allocations: 4 kB / 0.5598 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1525, allocations: 4 kB / 0.5598 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.153, allocations: 115.9 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.154, allocations: 460.4 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.1547, allocations: 182.5 kB / 0.5605 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1549, allocations: 80.72 kB / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1549, allocations: 0 / 0.5606 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.155, allocations: 34.56 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.155, allocations: 0 / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001683/0.1566, allocations: 0.5645 MB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.1567, allocations: 110.8 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1569, allocations: 161.7 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.157, allocations: 25.8 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.1571, allocations: 108.1 kB / 0.5616 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.1571, allocations: 39.83 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.1572, allocations: 37.64 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1574, allocations: 322.8 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.1576, allocations: 72.8 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.1579, allocations: 98.5 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.1583, allocations: 136.7 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1583, allocations: 3.938 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005352/0.1589, allocations: 185.5 kB / 0.5624 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1589, allocations: 4 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1589, allocations: 0 / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1589, allocations: 4 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.1591, allocations: 47.83 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1591, allocations: 240 / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1593, allocations: 27.97 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1593, allocations: 3.984 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001691/0.1594, allocations: 118.3 kB / 0.5626 GB, free: 14.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001308/0.1596, allocations: 66.77 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000193/0.1598, allocations: 76.75 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.11e-07/0.1598, allocations: 0 / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000286/0.1601, allocations: 121.6 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.1601, allocations: 6.188 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1601, allocations: 4 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-06/0.1601, allocations: 3.969 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1602, allocations: 23.98 kB / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1602, allocations: 7.938 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1603, allocations: 11.98 kB / 0.5629 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-06/0.1603, allocations: 4 kB / 0.5629 GB, free: 13.72 MB / 430.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.0001479/0.1604, allocations: 184.2 kB / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.1605, allocations: 15.91 kB / 0.5631 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.1606, allocations: 13.41 kB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1606, allocations: 11.94 kB / 0.5631 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1606, allocations: 0 / 0.5631 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1606, allocations: 0 / 0.5631 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1616, allocations: 0.507 MB / 0.5636 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1616, allocations: 3.938 kB / 0.5636 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.1618, allocations: 35.91 kB / 0.5637 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1618, allocations: 0 / 0.5637 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1618, allocations: 7.984 kB / 0.5637 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1618, allocations: 0 / 0.5637 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/0.1618, allocations: 0 / 0.5637 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.1627, allocations: 368.3 kB / 0.564 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.1628, allocations: 96.95 kB / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1628, allocations: 0 / 0.5641 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1631, allocations: 39.95 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.1632, allocations: 4 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1632, allocations: 12.05 kB / 0.5642 GB, free: 12.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1633, allocations: 117.8 kB / 0.5643 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1633, allocations: 0 / 0.5643 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.1637, allocations: 40 kB / 0.5643 GB, free: 12.17 MB / 430.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.0001279/0.1638, allocations: 95.19 kB / 0.5644 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006942/0.1645, allocations: 187.8 kB / 0.5646 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1645, allocations: 0 / 0.5646 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.1648, allocations: 79.86 kB / 0.5647 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1652, allocations: 40.14 kB / 0.5647 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.166, allocations: 284.3 kB / 0.565 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.1664, allocations: 0.7124 MB / 0.5657 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1665, allocations: 20.86 kB / 0.5657 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.1665, allocations: 19.44 kB / 0.5657 GB, free: 10.69 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1665, allocations: 0 / 0.5657 GB, free: 10.69 MB / 430.1 MB Notification: Performance of Templates: time 0.006409/0.1729, allocations: 2.298 MB / 0.568 GB, free: 8.414 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.364001162350178]