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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001626/0.001626, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 208.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.12 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 76.44 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 62.46 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003584/0.1494, allocations: 1.686 MB / 482.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1507, allocations: 0.6546 MB / 483.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.1508, allocations: 0 / 483.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.351e-05/0.1508, allocations: 11.81 kB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.151, allocations: 23.78 kB / 483.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.1515, allocations: 147.4 kB / 483.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1518, allocations: 155.6 kB / 483.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1519, allocations: 33.05 kB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1521, allocations: 75.75 kB / 483.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1523, allocations: 59.75 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1523, allocations: 20 kB / 483.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.615e-05/0.1524, allocations: 16 kB / 483.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.1524, allocations: 47.77 kB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1526, allocations: 55.72 kB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1528, allocations: 131.8 kB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1528, allocations: 0 / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1528, allocations: 0 / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1528, allocations: 4 kB / 483.9 MB, free: 2.113 MB / 350.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.0008205/0.1536, allocations: 454.9 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1537, allocations: 12.03 kB / 484.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.1539, allocations: 28.73 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1542, allocations: 212.1 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1542, allocations: 4.375 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.1543, allocations: 8.375 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.1547, allocations: 192.3 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1547, allocations: 4 kB / 484.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.1548, allocations: 4 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1548, allocations: 4 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.1552, allocations: 119.9 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009529/0.1561, allocations: 460.4 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.1568, allocations: 194.4 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.157, allocations: 72.8 kB / 485.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1571, allocations: 0 / 485.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1571, allocations: 34.56 kB / 485.6 MB, free: 180 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 4.027e-06/0.1571, allocations: 4 kB / 485.6 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001588/0.1587, allocations: 0.5646 MB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.1588, allocations: 114.7 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.159, allocations: 155.3 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.159, allocations: 37.7 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.1591, allocations: 104.1 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1592, allocations: 31.55 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.1592, allocations: 25.7 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1595, allocations: 326.8 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.1597, allocations: 76.8 kB / 487.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.16, allocations: 94.53 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004301/0.1604, allocations: 140.7 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1604, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000527/0.161, allocations: 189.4 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.161, allocations: 4 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.161, allocations: 4.016 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.161, allocations: 0 / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.1612, allocations: 43.89 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1612, allocations: 3.984 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.1614, allocations: 19.97 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1614, allocations: 8 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001641/0.1616, allocations: 120.1 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001205/0.1617, allocations: 58.55 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001965/0.1619, allocations: 81.16 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.1619, allocations: 0 / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002544/0.1622, allocations: 121.5 kB / 487.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.1622, allocations: 8 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.1622, allocations: 0 / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-06/0.1622, allocations: 0 / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.1623, allocations: 19.98 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1623, allocations: 3.938 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.1624, allocations: 11.98 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1624, allocations: 8 kB / 488 MB, free: 13.67 MB / 366.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.0001402/0.1626, allocations: 188.2 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.1626, allocations: 11.81 kB / 488.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.1627, allocations: 17.41 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1627, allocations: 3.938 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1627, allocations: 7.938 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1627, allocations: 0 / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.1637, allocations: 0.5069 MB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1637, allocations: 7.938 kB / 488.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1639, allocations: 40 kB / 488.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1639, allocations: 3.984 kB / 488.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1639, allocations: 0 / 488.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.164, allocations: 4 kB / 488.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.164, allocations: 0 / 488.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.1648, allocations: 360 kB / 489.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1649, allocations: 96.97 kB / 489.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.1649, allocations: 0 / 489.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.1652, allocations: 40.02 kB / 489.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1652, allocations: 8.188 kB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1652, allocations: 3.984 kB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1654, allocations: 123.9 kB / 489.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1654, allocations: 0 / 489.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1657, allocations: 36 kB / 489.4 MB, free: 12.13 MB / 366.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.000125/0.1658, allocations: 103.2 kB / 489.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006421/0.1665, allocations: 195.8 kB / 489.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1665, allocations: 0 / 489.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.1667, allocations: 75.86 kB / 489.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1672, allocations: 35.92 kB / 489.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.1679, allocations: 318.2 kB / 490.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1682, allocations: 0.7124 MB / 490.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.1683, allocations: 15.44 kB / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1683, allocations: 0 / 490.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Templates: time 0.003924/0.1722, allocations: 1.857 MB / 492.7 MB, free: 8.773 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches