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.0008201/0.0008201, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004135/0.004135, allocations: 159.9 kB / 24.7 MB, free: 9.414 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.8571/0.8571, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2346/0.2346, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 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 1.603e-06/1.603e-06, allocations: 0 / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.509e-05, allocations: 2.281 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.1636/0.1637, allocations: 1.661 MB / 445.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.1645, allocations: 0.6277 MB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.32e-05/0.1646, allocations: 2.938 kB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.1646, allocations: 15.05 kB / 445.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.107e-05/0.1647, allocations: 23.08 kB / 445.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1651, allocations: 151.3 kB / 445.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1652, allocations: 155.6 kB / 446.1 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1653, allocations: 26.72 kB / 446.1 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1655, allocations: 100.6 kB / 446.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.1656, allocations: 48.38 kB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1656, allocations: 12.16 kB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-05/0.1657, allocations: 19.06 kB / 446.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.1657, allocations: 33.81 kB / 446.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.1657, allocations: 44.89 kB / 446.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1659, allocations: 150.6 kB / 446.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1659, allocations: 3.594 kB / 446.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1659, allocations: 0 / 446.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1659, allocations: 0 / 446.5 MB, free: 43.29 MB / 410.7 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.0005134/0.1664, allocations: 382.3 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1665, allocations: 11.59 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1666, allocations: 27.3 kB / 446.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1668, allocations: 163.2 kB / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1668, allocations: 7.219 kB / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1669, allocations: 6.312 kB / 447.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1671, allocations: 340.6 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1671, allocations: 192 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1671, allocations: 3.312 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1672, allocations: 10.28 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1673, allocations: 125 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1678, allocations: 367.7 kB / 447.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1681, allocations: 194.4 kB / 448.1 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1682, allocations: 71.58 kB / 448.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1683, allocations: 6.938 kB / 448.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1683, allocations: 37.56 kB / 448.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1683, allocations: 0 / 448.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008442/0.1691, allocations: 493 kB / 448.7 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1692, allocations: 106.8 kB / 448.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.1692, allocations: 155.6 kB / 448.9 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1692, allocations: 28.52 kB / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.1693, allocations: 112.8 kB / 449.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1693, allocations: 30.67 kB / 449.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.1693, allocations: 25.72 kB / 449.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.1694, allocations: 324.8 kB / 449.4 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1695, allocations: 75.8 kB / 449.5 MB, free: 41.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1696, allocations: 149.9 kB / 449.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1698, allocations: 139.8 kB / 449.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1698, allocations: 6.906 kB / 449.8 MB, free: 40.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000235/0.1701, allocations: 180.5 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1701, allocations: 7.125 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1701, allocations: 0 / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1701, allocations: 0 / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1702, allocations: 43.64 kB / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1702, allocations: 0 / 450 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.1703, allocations: 27.69 kB / 450.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1703, allocations: 2.906 kB / 450.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.284e-05/0.1703, allocations: 126.6 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.156e-05/0.1704, allocations: 106.5 kB / 450.3 MB, free: 40.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.777e-05/0.1705, allocations: 86.91 kB / 450.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.01e-07/0.1705, allocations: 0 / 450.4 MB, free: 40.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001216/0.1706, allocations: 117.3 kB / 450.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.1706, allocations: 8.281 kB / 450.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.1706, allocations: 0 / 450.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-06/0.1706, allocations: 0 / 450.5 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.385e-05/0.1707, allocations: 28.58 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/0.1707, allocations: 3.188 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.1707, allocations: 12.06 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.1707, allocations: 2.906 kB / 450.5 MB, free: 40.61 MB / 410.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 (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 4.712e-05/0.1707, allocations: 187 kB / 450.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.1708, allocations: 13.72 kB / 450.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.1708, allocations: 14.83 kB / 450.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1708, allocations: 2.875 kB / 450.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1708, allocations: 1.5 kB / 450.8 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1708, allocations: 4 kB / 450.8 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.1713, allocations: 451.5 kB / 451.2 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1713, allocations: 0 / 451.2 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.1713, allocations: 38.95 kB / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1713, allocations: 2.812 kB / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1713, allocations: 3.281 kB / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1713, allocations: 0 / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1713, allocations: 6.688 kB / 451.3 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1717, allocations: 362 kB / 451.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.1717, allocations: 6.766 kB / 451.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1717, allocations: 13.52 kB / 451.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1719, allocations: 38.66 kB / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1719, allocations: 13.94 kB / 451.7 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.1719, allocations: 12.69 kB / 451.7 MB, free: 39.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.1719, allocations: 106.6 kB / 451.8 MB, free: 39.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1719, allocations: 0 / 451.8 MB, free: 39.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000189/0.1721, allocations: 36.56 kB / 451.8 MB, free: 39.78 MB / 410.7 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 9.029e-05/0.1722, allocations: 101.6 kB / 451.9 MB, free: 39.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1725, allocations: 187.1 kB / 452.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1725, allocations: 0 / 452.1 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1726, allocations: 84.02 kB / 452.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1729, allocations: 29.25 kB / 452.2 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.1733, allocations: 298.5 kB / 452.5 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.1733, allocations: 98.88 kB / 452.6 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1733, allocations: 17.25 kB / 452.6 MB, free: 39.34 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1733, allocations: 0 / 452.6 MB, free: 39.34 MB / 410.7 MB Notification: Performance of Templates: time 0.002245/0.1756, allocations: 1.875 MB / 454.5 MB, free: 39.23 MB / 410.7 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: 4.442279207520187]