Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002665/0.002667, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.624/3.624, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001803/0.001802, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005791/0.0005795, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003425/0.147, allocations: 1.344 MB / 375.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1487, allocations: 0.4884 MB / 376.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1488, allocations: 7.938 kB / 376.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.1489, allocations: 3.938 kB / 376.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1491, allocations: 27.89 kB / 376.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1494, allocations: 35.89 kB / 376.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.1497, allocations: 79.84 kB / 376.5 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1499, allocations: 24.89 kB / 376.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.15, allocations: 31.78 kB / 376.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1501, allocations: 43.78 kB / 376.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1502, allocations: 4 kB / 376.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.1502, allocations: 4 kB / 376.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.1503, allocations: 23.91 kB / 376.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.1504, allocations: 37.64 kB / 376.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1505, allocations: 60.09 kB / 376.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1506, allocations: 0 / 376.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1506, allocations: 0 / 376.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1506, allocations: 0 / 376.7 MB, free: 13.21 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009004/0.1515, allocations: 418.9 kB / 377.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.1516, allocations: 12.03 kB / 377.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.1517, allocations: 7.906 kB / 377.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1521, allocations: 211.4 kB / 377.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.1521, allocations: 11.95 kB / 377.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.1522, allocations: 15.91 kB / 377.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000614/0.1528, allocations: 140.1 kB / 377.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1529, allocations: 0 / 377.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1529, allocations: 4 kB / 377.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.153, allocations: 8 kB / 377.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.1535, allocations: 71.95 kB / 377.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.155, allocations: 0.5594 MB / 378.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009235/0.156, allocations: 158.5 kB / 378.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1561, allocations: 3.953 kB / 378.3 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.1561, allocations: 30.56 kB / 378.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 4.779e-06/0.1561, allocations: 0 / 378.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.00269/0.1588, allocations: 0.5642 MB / 378.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.159, allocations: 51.41 kB / 379 MB, free: 10.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1593, allocations: 158.2 kB / 379.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.1593, allocations: 29.7 kB / 379.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1595, allocations: 166.5 kB / 379.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.1596, allocations: 47.3 kB / 379.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.1596, allocations: 0 / 379.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1598, allocations: 322.8 kB / 379.7 MB, free: 9.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.1602, allocations: 59.97 kB / 379.8 MB, free: 9.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.1607, allocations: 95.33 kB / 379.8 MB, free: 9.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/0.1611, allocations: 71.97 kB / 379.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1611, allocations: 0 / 379.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001111/0.1623, allocations: 197.4 kB / 380.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.1623, allocations: 4 kB / 380.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1624, allocations: 0 / 380.1 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.1624, allocations: 4 kB / 380.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.1628, allocations: 47.91 kB / 380.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1628, allocations: 64 / 380.2 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1631, allocations: 23.98 kB / 380.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.1631, allocations: 8 kB / 380.2 MB, free: 9.465 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001891/0.1633, allocations: 113.8 kB / 380.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.1634, allocations: 19.8 kB / 380.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/0.1635, allocations: 20.64 kB / 380.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1636, allocations: 0 / 380.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1636, allocations: 4 kB / 380.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1636, allocations: 0 / 380.4 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.1655, allocations: 0.5242 MB / 380.9 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1655, allocations: 0 / 380.9 MB, free: 8.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.166, allocations: 39.97 kB / 380.9 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.166, allocations: 4 kB / 380.9 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1661, allocations: 0 / 380.9 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.1661, allocations: 4 kB / 380.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1661, allocations: 0 / 380.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1676, allocations: 372.5 kB / 381.3 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1678, allocations: 96.98 kB / 381.4 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1678, allocations: 7.938 kB / 381.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.1681, allocations: 15.98 kB / 381.4 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.1683, allocations: 15.94 kB / 381.4 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1683, allocations: 4 kB / 381.4 MB, free: 8.109 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.1685, allocations: 115.9 kB / 381.5 MB, free: 7.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1685, allocations: 4 kB / 381.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006157/0.1691, allocations: 20 kB / 381.6 MB, free: 7.973 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.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 (12): * Single equations (assignments): 12 * 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.0001757/0.1693, allocations: 103.2 kB / 381.7 MB, free: 7.859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.005232/0.1746, allocations: 139.9 kB / 381.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.1746, allocations: 0 / 381.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.1752, allocations: 80.14 kB / 381.9 MB, free: 7.645 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.1761, allocations: 39.92 kB / 381.9 MB, free: 7.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1776, allocations: 395.3 kB / 382.3 MB, free: 7.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.1789, allocations: 0.7204 MB / 383 MB, free: 6.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1791, allocations: 15.44 kB / 383 MB, free: 6.422 MB / 282.7 MB Notification: Performance of SimCode: time 1.743e-06/0.1791, allocations: 0 / 383 MB, free: 6.422 MB / 282.7 MB Notification: Performance of Templates: time 0.007981/0.1871, allocations: 1.638 MB / 384.7 MB, free: 4.785 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches