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.001107/0.001107, allocations: 112.2 kB / 17.28 MB, free: 6.199 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.001217/0.001217, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001297/0.001297, allocations: 47.92 kB / 280.1 MB, free: 3.516 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 46.63 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.004245/0.1341, allocations: 1.721 MB / 328.5 MB, free: 3.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1354, allocations: 0.5114 MB / 329 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1355, allocations: 4 kB / 329 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.553e-05/0.1356, allocations: 11.86 kB / 329 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.1357, allocations: 23.84 kB / 329 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.1359, allocations: 43.95 kB / 329.1 MB, free: 2.465 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.1361, allocations: 115.6 kB / 329.2 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.1362, allocations: 24.89 kB / 329.2 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.344e-05/0.1362, allocations: 47.73 kB / 329.3 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.1363, allocations: 47.75 kB / 329.3 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1364, allocations: 8 kB / 329.3 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.1364, allocations: 12 kB / 329.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.1364, allocations: 19.88 kB / 329.4 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.1365, allocations: 51.67 kB / 329.4 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.1366, allocations: 91.84 kB / 329.5 MB, free: 2.055 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1366, allocations: 0 / 329.5 MB, free: 2.055 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1366, allocations: 0 / 329.5 MB, free: 2.055 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1366, allocations: 0 / 329.5 MB, free: 2.055 MB / 270.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.0006458/0.1373, allocations: 423 kB / 329.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1373, allocations: 15.97 kB / 329.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.1374, allocations: 16.75 kB / 329.9 MB, free: 1.562 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1377, allocations: 212.6 kB / 330.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1377, allocations: 12.36 kB / 330.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.1378, allocations: 16.12 kB / 330.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.1381, allocations: 120.2 kB / 330.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1381, allocations: 4 kB / 330.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1381, allocations: 8 kB / 330.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1381, allocations: 0 / 330.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.1384, allocations: 67.8 kB / 330.4 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.1392, allocations: 0.5516 MB / 330.9 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1396, allocations: 134.4 kB / 331.1 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.1397, allocations: 60.81 kB / 331.1 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.1397, allocations: 0 / 331.1 MB, free: 272 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1398, allocations: 34.56 kB / 331.1 MB, free: 228 kB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.1398, allocations: 0 / 331.1 MB, free: 228 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001153/0.1409, allocations: 0.5096 MB / 331.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.141, allocations: 51.41 kB / 331.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.1411, allocations: 158.2 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1412, allocations: 25.7 kB / 331.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.1413, allocations: 119.9 kB / 332 MB, free: 15.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1413, allocations: 39.36 kB / 332 MB, free: 15.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.1414, allocations: 34.64 kB / 332.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1415, allocations: 322.8 kB / 332.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1417, allocations: 51.95 kB / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1418, allocations: 90.77 kB / 332.5 MB, free: 14.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.1421, allocations: 131.4 kB / 332.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1421, allocations: 0 / 332.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003992/0.1425, allocations: 181.3 kB / 332.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1426, allocations: 8 kB / 332.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1426, allocations: 8.031 kB / 332.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1426, allocations: 0 / 332.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1428, allocations: 35.92 kB / 332.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1428, allocations: 7.984 kB / 332.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.1429, allocations: 19.92 kB / 332.9 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1429, allocations: 4 kB / 332.9 MB, free: 14.32 MB / 286.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 0.0001134/0.143, allocations: 121.8 kB / 333 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.1431, allocations: 15.84 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.1431, allocations: 20.66 kB / 333.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1431, allocations: 4 kB / 333.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1431, allocations: 0 / 333.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1432, allocations: 3.984 kB / 333.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007682/0.1439, allocations: 499.9 kB / 333.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1439, allocations: 4 kB / 333.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.1441, allocations: 31.92 kB / 333.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1441, allocations: 0 / 333.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1442, allocations: 7.984 kB / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1442, allocations: 0 / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1442, allocations: 4.062 kB / 333.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.1447, allocations: 316.9 kB / 333.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.1448, allocations: 92.86 kB / 334 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.1449, allocations: 12 kB / 334 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.145, allocations: 12.03 kB / 334 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.1451, allocations: 11.98 kB / 334.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.1451, allocations: 4 kB / 334.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.34e-05/0.1452, allocations: 115.9 kB / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1452, allocations: 0 / 334.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1454, allocations: 20 kB / 334.2 MB, free: 12.94 MB / 286.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.0001279/0.1456, allocations: 107.1 kB / 334.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.1459, allocations: 127.8 kB / 334.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.146, allocations: 0 / 334.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.1461, allocations: 72.14 kB / 334.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.1467, allocations: 44.39 kB / 334.5 MB, free: 12.58 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.1474, allocations: 364.8 kB / 334.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1478, allocations: 0.7123 MB / 335.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.1478, allocations: 13.42 kB / 335.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.1479, allocations: 15.44 kB / 335.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1479, allocations: 0 / 335.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of Templates: time 0.00476/0.1527, allocations: 1.596 MB / 337.2 MB, free: 9.836 MB / 286.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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches