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.0009151/0.0009146, allocations: 93.53 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 192 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.19 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003201, allocations: 11.98 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 63.55 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002261/0.1635, allocations: 1.377 MB / 483.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1648, allocations: 0.6122 MB / 484.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1649, allocations: 4 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.1649, allocations: 7.922 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.1651, allocations: 7.875 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.1655, allocations: 143.3 kB / 484.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.1658, allocations: 131.7 kB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.166, allocations: 25.09 kB / 484.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.1662, allocations: 59.77 kB / 484.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1663, allocations: 55.73 kB / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1663, allocations: 8 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.1664, allocations: 12 kB / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.1665, allocations: 27.91 kB / 484.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.1665, allocations: 37.64 kB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1667, allocations: 92.03 kB / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1667, allocations: 0 / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1668, allocations: 0 / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1668, allocations: 0 / 485 MB, free: 1.91 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.0009021/0.1677, allocations: 450.9 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.1677, allocations: 8.031 kB / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.168, allocations: 27.8 kB / 485.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1683, allocations: 218.8 kB / 485.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.1684, allocations: 4 kB / 485.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.1684, allocations: 11.94 kB / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.1689, allocations: 198.7 kB / 485.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1689, allocations: 3.984 kB / 485.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.169, allocations: 4 kB / 485.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.169, allocations: 4 kB / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.1694, allocations: 155.9 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.1704, allocations: 472.3 kB / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006388/0.1711, allocations: 250.4 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.1713, allocations: 92.75 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.1713, allocations: 7.984 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.1714, allocations: 34.52 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1714, allocations: 0 / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.00158/0.173, allocations: 0.6617 MB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/0.1731, allocations: 106.8 kB / 487.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1733, allocations: 153.9 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1733, allocations: 33.7 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1734, allocations: 104.1 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.1734, allocations: 39.59 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.1734, allocations: 0 / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1736, allocations: 326.8 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1738, allocations: 87.94 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.174, allocations: 102.5 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.1743, allocations: 91.91 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1743, allocations: 0 / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000467/0.1747, allocations: 217.5 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/0.1748, allocations: 96.95 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1748, allocations: 4 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1749, allocations: 3.938 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.175, allocations: 51.95 kB / 488.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1751, allocations: 0 / 488.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1752, allocations: 31.97 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1752, allocations: 0 / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/0.1752, allocations: 4 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000226/0.1755, allocations: 100.2 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1755, allocations: 4 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.1755, allocations: 0 / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.1756, allocations: 27.97 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-06/0.1756, allocations: 4 kB / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.1757, allocations: 15.95 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1757, allocations: 4 kB / 489.1 MB, free: 13.46 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.00016/0.1759, allocations: 193.1 kB / 489.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1759, allocations: 11.91 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.176, allocations: 17.41 kB / 489.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.176, allocations: 7.875 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.176, allocations: 4 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.176, allocations: 3.953 kB / 489.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/0.1769, allocations: 0.5504 MB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1769, allocations: 4 kB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1771, allocations: 47.98 kB / 489.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1771, allocations: 0 / 489.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1771, allocations: 7.953 kB / 490 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1772, allocations: 0 / 490 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1772, allocations: 0 / 490 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/0.178, allocations: 416.1 kB / 490.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.178, allocations: 92.94 kB / 490.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.1781, allocations: 7.984 kB / 490.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.1784, allocations: 59.97 kB / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.1784, allocations: 7.984 kB / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1785, allocations: 0 / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.438e-05/0.1786, allocations: 121.8 kB / 490.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1786, allocations: 0 / 490.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1789, allocations: 39.94 kB / 490.7 MB, free: 11.79 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.000143/0.179, allocations: 99.78 kB / 490.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006233/0.1796, allocations: 235.9 kB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1797, allocations: 0 / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1799, allocations: 99.92 kB / 491.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1803, allocations: 33.95 kB / 491.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.181, allocations: 340.2 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1812, allocations: 0.7049 MB / 492.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.099e-05/0.1813, allocations: 20.88 kB / 492.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.1814, allocations: 15.44 kB / 492.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1814, allocations: 0 / 492.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of Templates: time 0.005149/0.1865, allocations: 1.985 MB / 494.2 MB, free: 8.23 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches