Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007928/0.0007928, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00305/0.00305, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8776/0.8776, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 34.23 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.018e-05, allocations: 8.469 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.1524/0.1524, allocations: 1.664 MB / 445.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.1532, allocations: 0.6189 MB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.1533, allocations: 6.969 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.1533, allocations: 14.05 kB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.1534, allocations: 22.55 kB / 445.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1537, allocations: 153.4 kB / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1538, allocations: 157.5 kB / 446 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1539, allocations: 20.62 kB / 446.1 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1541, allocations: 102.9 kB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.1541, allocations: 45.55 kB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1542, allocations: 10.81 kB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.1542, allocations: 23.91 kB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.1542, allocations: 35.77 kB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.1543, allocations: 45.7 kB / 446.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1544, allocations: 147.2 kB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1544, allocations: 2.188 kB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1544, allocations: 0 / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1544, allocations: 0 / 446.5 MB, free: 43.17 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.0004457/0.1549, allocations: 389.5 kB / 446.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1549, allocations: 11.28 kB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.155, allocations: 26.67 kB / 446.9 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1552, allocations: 160 kB / 447 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1552, allocations: 10.56 kB / 447 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1552, allocations: 10.22 kB / 447.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.1555, allocations: 325.9 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1555, allocations: 1.656 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1555, allocations: 7.094 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1555, allocations: 3.938 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.1557, allocations: 125.9 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.1562, allocations: 375.7 kB / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.1565, allocations: 185.1 kB / 448.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.1566, allocations: 69.78 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1566, allocations: 10.91 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.1566, allocations: 36.59 kB / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1566, allocations: 0 / 448.2 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007546/0.1573, allocations: 0.4888 MB / 448.7 MB, free: 41.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1574, allocations: 108.8 kB / 448.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.1574, allocations: 146.6 kB / 448.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.1574, allocations: 29.7 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.1575, allocations: 105.1 kB / 449 MB, free: 41.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.1575, allocations: 34.03 kB / 449.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1575, allocations: 32.36 kB / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.37e-05/0.1575, allocations: 330.4 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1576, allocations: 80.78 kB / 449.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1578, allocations: 143.4 kB / 449.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.1579, allocations: 137.2 kB / 449.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1579, allocations: 3.938 kB / 449.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002254/0.1582, allocations: 196.4 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.1582, allocations: 2.688 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1582, allocations: 2.844 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1582, allocations: 0 / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.1583, allocations: 39.12 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1583, allocations: 0 / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.1583, allocations: 24.53 kB / 450 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1584, allocations: 10.14 kB / 450.1 MB, free: 40.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.327e-05/0.1584, allocations: 122.3 kB / 450.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.5e-05/0.1585, allocations: 108 kB / 450.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.197e-05/0.1586, allocations: 78.3 kB / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.71e-07/0.1586, allocations: 0 / 450.4 MB, free: 40.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001118/0.1587, allocations: 117.5 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-06/0.1587, allocations: 5.656 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-07/0.1587, allocations: 0 / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-06/0.1587, allocations: 2.875 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.1587, allocations: 23.7 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-06/0.1587, allocations: 3.938 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.1587, allocations: 15.08 kB / 450.5 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-06/0.1588, allocations: 6.875 kB / 450.5 MB, free: 40.47 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 3.888e-05/0.1588, allocations: 187 kB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.1588, allocations: 13.59 kB / 450.7 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.1588, allocations: 15.72 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1588, allocations: 6.109 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1588, allocations: 0 / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1588, allocations: 2.688 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.1592, allocations: 445.6 kB / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1592, allocations: 2.938 kB / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.1593, allocations: 37.31 kB / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1593, allocations: 0 / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1593, allocations: 2.906 kB / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1593, allocations: 0 / 451.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1593, allocations: 14.16 kB / 451.2 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1597, allocations: 357.2 kB / 451.6 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.1597, allocations: 10.92 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1597, allocations: 6.812 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1598, allocations: 34.45 kB / 451.6 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.1599, allocations: 13.81 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1599, allocations: 6.281 kB / 451.7 MB, free: 39.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.286e-05/0.1599, allocations: 115.6 kB / 451.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1599, allocations: 4.062 kB / 451.8 MB, free: 39.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.1601, allocations: 32.69 kB / 451.8 MB, free: 39.65 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 6.406e-05/0.1602, allocations: 90.69 kB / 451.9 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1604, allocations: 193.1 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1604, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.1605, allocations: 72.17 kB / 452.2 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.1608, allocations: 45.55 kB / 452.2 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.1611, allocations: 308.3 kB / 452.5 MB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.1612, allocations: 93.45 kB / 452.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.1612, allocations: 14.56 kB / 452.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1612, allocations: 0 / 452.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of Templates: time 0.001935/0.1631, allocations: 1.856 MB / 454.5 MB, free: 39.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.7648296328261495]