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.0009949/0.000995, allocations: 96.03 kB / 16.98 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 12 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001982/0.1589, allocations: 1.365 MB / 482.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.16, allocations: 0.5889 MB / 483.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.1601, allocations: 4 kB / 483.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.1601, allocations: 11.92 kB / 483.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.424e-05/0.1602, allocations: 15.91 kB / 483.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.1606, allocations: 111.8 kB / 483.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1608, allocations: 83.83 kB / 483.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1609, allocations: 25.42 kB / 483.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1611, allocations: 75.73 kB / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1612, allocations: 51.77 kB / 483.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1613, allocations: 7.938 kB / 483.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.1614, allocations: 15.98 kB / 483.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.1614, allocations: 27.84 kB / 483.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.1614, allocations: 41.64 kB / 483.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1616, allocations: 88.03 kB / 483.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1616, allocations: 0 / 483.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1616, allocations: 0 / 483.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1616, allocations: 0 / 483.9 MB, free: 2.875 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.0007954/0.1624, allocations: 442.9 kB / 484.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1625, allocations: 16.03 kB / 484.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.1627, allocations: 23.81 kB / 484.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.163, allocations: 219.3 kB / 484.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.163, allocations: 8 kB / 484.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1631, allocations: 11.98 kB / 484.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.1635, allocations: 184.2 kB / 484.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1636, allocations: 3.906 kB / 484.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.1636, allocations: 4 kB / 484.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.1636, allocations: 8 kB / 484.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.164, allocations: 159.8 kB / 484.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.165, allocations: 472.5 kB / 485.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.1656, allocations: 242.5 kB / 485.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1657, allocations: 0 / 485.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.1657, allocations: 42.52 kB / 485.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1657, allocations: 4 kB / 485.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001676/0.1674, allocations: 0.6461 MB / 486.3 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.1675, allocations: 114.7 kB / 486.4 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1677, allocations: 154.2 kB / 486.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1677, allocations: 29.7 kB / 486.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.1678, allocations: 112 kB / 486.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.1679, allocations: 31.7 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.1679, allocations: 0 / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.168, allocations: 326.8 kB / 487.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.1683, allocations: 79.94 kB / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.1686, allocations: 122.5 kB / 487.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1688, allocations: 83.98 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1689, allocations: 0 / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005358/0.1694, allocations: 221.3 kB / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.1695, allocations: 101 kB / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1695, allocations: 0 / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1695, allocations: 0 / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.1697, allocations: 47.97 kB / 487.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1697, allocations: 0 / 487.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1699, allocations: 35.97 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1699, allocations: 8 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.1699, allocations: 6.031 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002332/0.1701, allocations: 91.88 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.1701, allocations: 0 / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.1702, allocations: 8 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.1703, allocations: 23.98 kB / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.1703, allocations: 3.953 kB / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.1703, allocations: 15.98 kB / 487.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1704, allocations: 4 kB / 487.9 MB, free: 14.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.1705, allocations: 201.1 kB / 488.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.1705, allocations: 12.28 kB / 488.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.1706, allocations: 16.7 kB / 488.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1706, allocations: 0 / 488.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1706, allocations: 3.953 kB / 488.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1706, allocations: 3.938 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009332/0.1716, allocations: 0.5421 MB / 488.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1716, allocations: 3.984 kB / 488.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.1718, allocations: 51.94 kB / 488.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1718, allocations: 0 / 488.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1718, allocations: 7.953 kB / 488.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1718, allocations: 4 kB / 488.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1718, allocations: 0 / 488.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.1727, allocations: 429.7 kB / 489.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.1727, allocations: 89 kB / 489.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.1727, allocations: 4 kB / 489.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.173, allocations: 55.95 kB / 489.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1731, allocations: 11.98 kB / 489.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1731, allocations: 8 kB / 489.3 MB, free: 13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.011e-05/0.1732, allocations: 119.2 kB / 489.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1732, allocations: 0 / 489.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000303/0.1735, allocations: 32 kB / 489.5 MB, free: 12.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001158/0.1736, allocations: 91.78 kB / 489.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.1743, allocations: 239.8 kB / 489.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1743, allocations: 0 / 489.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.1745, allocations: 95.88 kB / 489.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1748, allocations: 35.98 kB / 489.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.1755, allocations: 324.5 kB / 490.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1758, allocations: 0.7088 MB / 491 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.706e-05/0.1759, allocations: 17.66 kB / 491 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.176, allocations: 27.3 kB / 491 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.176, allocations: 0 / 491 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Templates: time 0.00457/0.1805, allocations: 1.984 MB / 493 MB, free: 9.305 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches