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.0007935/0.0007935, allocations: 93.45 kB / 17.3 MB, free: 6.391 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.0007866/0.0007866, allocations: 172.8 kB / 18.2 MB, free: 5.551 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.57/1.57, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005858/0.0005861, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1187, allocations: 47.58 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002002/0.1208, allocations: 1.374 MB / 330.3 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.1216, allocations: 0.5115 MB / 330.8 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1217, allocations: 3.938 kB / 330.8 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.1218, allocations: 11.92 kB / 330.9 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.1219, allocations: 23.84 kB / 330.9 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.1221, allocations: 31.97 kB / 330.9 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1223, allocations: 119.6 kB / 331 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1224, allocations: 24.89 kB / 331.1 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.1225, allocations: 39.73 kB / 331.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.1226, allocations: 39.78 kB / 331.1 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1226, allocations: 4 kB / 331.1 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.1226, allocations: 4 kB / 331.1 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.1226, allocations: 19.8 kB / 331.2 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1227, allocations: 69.42 kB / 331.2 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1228, allocations: 83.84 kB / 331.3 MB, free: 1.379 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1229, allocations: 4 kB / 331.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1229, allocations: 0 / 331.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1229, allocations: 0 / 331.3 MB, free: 1.375 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.0005706/0.1235, allocations: 415 kB / 331.7 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1235, allocations: 8.031 kB / 331.7 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1235, allocations: 16.84 kB / 331.7 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1238, allocations: 216.6 kB / 332 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1238, allocations: 8.375 kB / 332 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.1238, allocations: 16.12 kB / 332 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.1242, allocations: 140.1 kB / 332.1 MB, free: 484 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1242, allocations: 7.891 kB / 332.1 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1242, allocations: 4 kB / 332.1 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1242, allocations: 4 kB / 332.1 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.1245, allocations: 79.94 kB / 332.2 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.1253, allocations: 0.5554 MB / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.1257, allocations: 154.4 kB / 332.9 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.1258, allocations: 72.81 kB / 333 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1259, allocations: 0 / 333 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1259, allocations: 30.56 kB / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1259, allocations: 0 / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001293/0.1272, allocations: 0.5643 MB / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1273, allocations: 55.41 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1274, allocations: 150.2 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1275, allocations: 33.7 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.1275, allocations: 115.9 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1276, allocations: 39.36 kB / 334 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1276, allocations: 21.72 kB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1277, allocations: 326.8 kB / 334.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1279, allocations: 67.95 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.1281, allocations: 91.39 kB / 334.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.1284, allocations: 155.3 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1284, allocations: 0 / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003899/0.1288, allocations: 193.5 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1288, allocations: 12 kB / 334.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1289, allocations: 3.938 kB / 334.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1289, allocations: 4 kB / 334.8 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1291, allocations: 43.91 kB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1291, allocations: 0 / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-05/0.1292, allocations: 23.98 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1292, allocations: 4.938 kB / 334.9 MB, free: 13.48 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.0001004/0.1293, allocations: 121.8 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1293, allocations: 7.906 kB / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.1294, allocations: 24.64 kB / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1294, allocations: 0 / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1294, allocations: 0 / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1294, allocations: 0 / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.1302, allocations: 0.5348 MB / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1302, allocations: 0 / 335.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.1304, allocations: 40.03 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1304, allocations: 4 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1304, allocations: 0 / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1304, allocations: 0 / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1304, allocations: 4 kB / 335.6 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.131, allocations: 352.3 kB / 336 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1311, allocations: 92.95 kB / 336.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1311, allocations: 8 kB / 336.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1312, allocations: 19.98 kB / 336.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.1313, allocations: 11.98 kB / 336.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.1313, allocations: 4 kB / 336.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.369e-05/0.1314, allocations: 115.9 kB / 336.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 3.938 kB / 336.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1316, allocations: 24 kB / 336.2 MB, free: 12.02 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.0001207/0.1317, allocations: 107.1 kB / 336.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.1321, allocations: 144 kB / 336.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1321, allocations: 0 / 336.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1323, allocations: 79.89 kB / 336.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.1328, allocations: 44.19 kB / 336.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.1334, allocations: 381.7 kB / 337 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1338, allocations: 0.7126 MB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.1338, allocations: 17.7 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.1339, allocations: 11.44 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1339, allocations: 0 / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of Templates: time 0.004161/0.1381, allocations: 1.505 MB / 339.2 MB, free: 8.977 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