Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 113.2 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 55.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003618/0.1335, allocations: 1.667 MB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1347, allocations: 0.5236 MB / 377.3 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1349, allocations: 4 kB / 377.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1351, allocations: 15.8 kB / 377.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1354, allocations: 27.78 kB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1357, allocations: 43.89 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.1361, allocations: 119.6 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.1364, allocations: 33.09 kB / 377.6 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1365, allocations: 43.73 kB / 377.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1367, allocations: 43.78 kB / 377.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.1368, allocations: 8 kB / 377.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.06e-05/0.1368, allocations: 8 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.1369, allocations: 15.92 kB / 377.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.137, allocations: 59.59 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.1373, allocations: 91.58 kB / 377.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.938e-05/0.1373, allocations: 3.984 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1374, allocations: 0 / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.1374, allocations: 0 / 377.8 MB, free: 1.863 MB / 318.1 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.001127/0.1385, allocations: 427 kB / 378.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.231e-05/0.1386, allocations: 8.031 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.1387, allocations: 16.75 kB / 378.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.1393, allocations: 216.6 kB / 378.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.1394, allocations: 8.375 kB / 378.5 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.1394, allocations: 20.12 kB / 378.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.1399, allocations: 124.1 kB / 378.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1399, allocations: 4 kB / 378.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.1399, allocations: 4 kB / 378.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1399, allocations: 0 / 378.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.1402, allocations: 71.94 kB / 378.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1412, allocations: 0.5475 MB / 379.3 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.1417, allocations: 134.5 kB / 379.4 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.1418, allocations: 60.75 kB / 379.4 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1419, allocations: 0 / 379.4 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.1419, allocations: 42.5 kB / 379.5 MB, free: 24 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1419, allocations: 0 / 379.5 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.2624/0.4043, allocations: 0.5034 MB / 380 MB, free: 13.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.4044, allocations: 53.56 kB / 380 MB, free: 12.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4045, allocations: 156.1 kB / 380.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4045, allocations: 28.83 kB / 380.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.4046, allocations: 112.1 kB / 380.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.4047, allocations: 40.23 kB / 380.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.4047, allocations: 35.53 kB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.4048, allocations: 325 kB / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.405, allocations: 49.45 kB / 380.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.4051, allocations: 78.64 kB / 380.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.4054, allocations: 137.6 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4055, allocations: 1.344 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003878/0.4059, allocations: 183.5 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4059, allocations: 10.06 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4059, allocations: 1.438 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4059, allocations: 5.125 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.4061, allocations: 39.02 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.4061, allocations: 5.922 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.4062, allocations: 12.28 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4062, allocations: 7.438 kB / 381.2 MB, free: 12.29 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.28e-05/0.4063, allocations: 120 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.4064, allocations: 16.59 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.4064, allocations: 15.34 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.4064, allocations: 2.125 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4064, allocations: 3.531 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4065, allocations: 1.453 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000765/0.4072, allocations: 0.4897 MB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4072, allocations: 3.469 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.4074, allocations: 33.53 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4074, allocations: 2.078 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4074, allocations: 6.031 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4074, allocations: 2.078 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4074, allocations: 0 / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.408, allocations: 324.8 kB / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.408, allocations: 89.97 kB / 382.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.4081, allocations: 5.219 kB / 382.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4082, allocations: 11.72 kB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.4083, allocations: 15.88 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.4083, allocations: 9.641 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.4084, allocations: 111.4 kB / 382.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4084, allocations: 1.594 kB / 382.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.4087, allocations: 19.59 kB / 382.5 MB, free: 11.51 MB / 318.1 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 (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.0001119/0.4088, allocations: 109.4 kB / 382.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.4092, allocations: 123 kB / 382.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4092, allocations: 0.5625 kB / 382.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.4094, allocations: 68.47 kB / 382.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.4098, allocations: 41.72 kB / 382.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.4105, allocations: 335.5 kB / 383.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.4107, allocations: 0.7113 MB / 383.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.4107, allocations: 17.69 kB / 383.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.4108, allocations: 15.38 kB / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4108, allocations: 0 / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Templates: time 0.004726/0.4155, allocations: 1.733 MB / 385.7 MB, free: 10.37 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches