Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 180.1 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.3 MB / 241 MB, free: 11.81 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007325/0.0007325, allocations: 96.98 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002183/0.0002183, allocations: 15.94 kB / 351.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1791, allocations: 50.4 MB / 402.2 MB, free: 32.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001199/0.1804, allocations: 1.351 MB / 403.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005032/0.1809, allocations: 465.3 kB / 404 MB, free: 30.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.181, allocations: 1.906 kB / 404 MB, free: 30.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.763e-05/0.181, allocations: 7.938 kB / 404 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.1811, allocations: 15.86 kB / 404 MB, free: 30.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.1812, allocations: 35.89 kB / 404.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1813, allocations: 104.3 kB / 404.2 MB, free: 30.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1815, allocations: 22.36 kB / 404.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.1815, allocations: 38.08 kB / 404.2 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.1816, allocations: 39.77 kB / 404.3 MB, free: 30.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1816, allocations: 7.938 kB / 404.3 MB, free: 30.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.1816, allocations: 4 kB / 404.3 MB, free: 30.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.1816, allocations: 15.88 kB / 404.3 MB, free: 30.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.1817, allocations: 45.62 kB / 404.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.003e-05/0.1817, allocations: 61.16 kB / 404.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1817, allocations: 0 / 404.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1818, allocations: 0 / 404.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1818, allocations: 4 kB / 404.4 MB, free: 30.39 MB / 298.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.0004048/0.1822, allocations: 414.9 kB / 404.8 MB, free: 29.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.1822, allocations: 8.031 kB / 404.8 MB, free: 29.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.1823, allocations: 19.77 kB / 404.8 MB, free: 29.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1824, allocations: 214.4 kB / 405 MB, free: 29.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1824, allocations: 4 kB / 405 MB, free: 29.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1825, allocations: 12 kB / 405.1 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.1827, allocations: 143.2 kB / 405.2 MB, free: 29.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1827, allocations: 7.844 kB / 405.2 MB, free: 29.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1827, allocations: 4 kB / 405.2 MB, free: 29.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1828, allocations: 3.984 kB / 405.2 MB, free: 29.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1829, allocations: 83.89 kB / 405.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.1834, allocations: 0.5439 MB / 405.8 MB, free: 28.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1838, allocations: 150.4 kB / 406 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1839, allocations: 72.81 kB / 406.1 MB, free: 28.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1839, allocations: 4 kB / 406.1 MB, free: 28.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.072e-05/0.1839, allocations: 34.56 kB / 406.1 MB, free: 28.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.184, allocations: 3.984 kB / 406.1 MB, free: 28.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009077/0.1849, allocations: 0.5643 MB / 406.7 MB, free: 27.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.1849, allocations: 59.36 kB / 406.7 MB, free: 27.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.185, allocations: 152 kB / 406.9 MB, free: 27.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.185, allocations: 29.7 kB / 406.9 MB, free: 27.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.185, allocations: 111.8 kB / 407 MB, free: 27.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1851, allocations: 47.3 kB / 407 MB, free: 27.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1851, allocations: 0 / 407 MB, free: 27.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.546e-05/0.1851, allocations: 330.8 kB / 407.4 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1853, allocations: 59.95 kB / 407.4 MB, free: 27.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1854, allocations: 99.33 kB / 407.5 MB, free: 26.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1855, allocations: 66.97 kB / 407.6 MB, free: 26.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1855, allocations: 0 / 407.6 MB, free: 26.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003097/0.1859, allocations: 194.3 kB / 407.8 MB, free: 26.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1859, allocations: 6.656 kB / 407.8 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1859, allocations: 3.984 kB / 407.8 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1859, allocations: 4 kB / 407.8 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1861, allocations: 47.98 kB / 407.8 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1861, allocations: 4 kB / 407.8 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.1861, allocations: 23.94 kB / 407.9 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1862, allocations: 4 kB / 407.9 MB, free: 26.62 MB / 298.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 6.003e-05/0.1862, allocations: 121.8 kB / 408 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.1863, allocations: 7.906 kB / 408 MB, free: 26.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.1863, allocations: 24.66 kB / 408 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1863, allocations: 0 / 408 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1863, allocations: 7.938 kB / 408 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1863, allocations: 0 / 408 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.1869, allocations: 0.5233 MB / 408.6 MB, free: 25.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1869, allocations: 0 / 408.6 MB, free: 25.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1871, allocations: 35.98 kB / 408.6 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1871, allocations: 3.938 kB / 408.6 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1871, allocations: 7.953 kB / 408.6 MB, free: 25.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1871, allocations: 4.062 kB / 408.6 MB, free: 25.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1871, allocations: 4 kB / 408.6 MB, free: 25.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.1876, allocations: 345 kB / 408.9 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.1876, allocations: 92.92 kB / 409 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1876, allocations: 0 / 409 MB, free: 25.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1877, allocations: 19.98 kB / 409.1 MB, free: 25.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.1878, allocations: 15.98 kB / 409.1 MB, free: 25.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1878, allocations: 0 / 409.1 MB, free: 25.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.718e-05/0.1878, allocations: 118.9 kB / 409.2 MB, free: 25.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 4 kB / 409.2 MB, free: 25.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.1881, allocations: 20 kB / 409.2 MB, free: 25.17 MB / 298.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 6.357e-05/0.1881, allocations: 99.19 kB / 409.3 MB, free: 25.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1884, allocations: 147.8 kB / 409.5 MB, free: 24.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1885, allocations: 0 / 409.5 MB, free: 24.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1886, allocations: 76.22 kB / 409.5 MB, free: 24.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.189, allocations: 36.25 kB / 409.6 MB, free: 24.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.1894, allocations: 411.3 kB / 410 MB, free: 24.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.248e-05/0.1895, allocations: 0.7087 MB / 410.7 MB, free: 23.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.1896, allocations: 15.44 kB / 410.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1896, allocations: 0 / 410.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of Templates: time 0.002249/0.1918, allocations: 1.659 MB / 412.3 MB, free: 21.96 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches