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.001189/0.001195, allocations: 109.4 kB / 18.34 MB, free: 4.832 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.001207/0.001207, allocations: 192.1 kB / 19.28 MB, free: 3.898 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.363/1.363, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001293/0.001293, allocations: 63.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.08477, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002915/0.08772, allocations: 1.674 MB / 330.4 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.08865, allocations: 0.5191 MB / 330.9 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.523e-05/0.08877, allocations: 4 kB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.08889, allocations: 15.8 kB / 330.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.08901, allocations: 23.8 kB / 330.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.08918, allocations: 47.94 kB / 331 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.08938, allocations: 119.6 kB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.08949, allocations: 25.09 kB / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.08958, allocations: 51.78 kB / 331.2 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.08968, allocations: 47.7 kB / 331.2 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.08971, allocations: 8 kB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.08973, allocations: 8 kB / 331.2 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.08976, allocations: 23.86 kB / 331.3 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.08982, allocations: 39.75 kB / 331.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.08998, allocations: 99.5 kB / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.08999, allocations: 0 / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09, allocations: 0 / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.09001, allocations: 0 / 331.4 MB, free: 1.039 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.0005787/0.09059, allocations: 431 kB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.09064, allocations: 12.03 kB / 331.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.09069, allocations: 12.75 kB / 331.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.09098, allocations: 216.6 kB / 332.1 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.091, allocations: 8.375 kB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.09105, allocations: 8.125 kB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.09133, allocations: 136.1 kB / 332.2 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.09135, allocations: 0 / 332.2 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.09137, allocations: 0 / 332.2 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.09138, allocations: 4 kB / 332.2 MB, free: 132 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.09158, allocations: 75.84 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.09237, allocations: 0.5438 MB / 332.8 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.09272, allocations: 134.4 kB / 333 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.09287, allocations: 60.75 kB / 333 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.09289, allocations: 0 / 333 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.09292, allocations: 34.56 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.09293, allocations: 4 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001095/0.09403, allocations: 0.5135 MB / 333.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.09408, allocations: 55.41 kB / 333.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.09423, allocations: 154.2 kB / 333.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.09425, allocations: 25.7 kB / 333.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.09432, allocations: 115.9 kB / 333.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.619e-05/0.09443, allocations: 43.34 kB / 334 MB, free: 14.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.09449, allocations: 33.7 kB / 334 MB, free: 14.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.0946, allocations: 326.8 kB / 334.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.09475, allocations: 51.91 kB / 334.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.09492, allocations: 79.39 kB / 334.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.09522, allocations: 139.3 kB / 334.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.09524, allocations: 3.938 kB / 334.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003681/0.09561, allocations: 177.4 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.09564, allocations: 4 kB / 334.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.09565, allocations: 7.938 kB / 334.8 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.09567, allocations: 0 / 334.8 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.09585, allocations: 39.91 kB / 334.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.09587, allocations: 4 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.09595, allocations: 15.98 kB / 334.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.09597, allocations: 8 kB / 334.8 MB, free: 13.3 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 9.224e-05/0.09607, allocations: 121.9 kB / 334.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.09611, allocations: 7.906 kB / 335 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.09616, allocations: 20.64 kB / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.09617, allocations: 0 / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.09618, allocations: 0 / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.09619, allocations: 0 / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.09691, allocations: 0.4891 MB / 335.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.09692, allocations: 0 / 335.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.09709, allocations: 39.91 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.0971, allocations: 4 kB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.09712, allocations: 8.141 kB / 335.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.09713, allocations: 7.938 kB / 335.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.09714, allocations: 0 / 335.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.09765, allocations: 329.7 kB / 335.8 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.09773, allocations: 88.92 kB / 335.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.09776, allocations: 0 / 335.9 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.09787, allocations: 15.98 kB / 335.9 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.09793, allocations: 7.984 kB / 336 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.09795, allocations: 8 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.09803, allocations: 112.1 kB / 336.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09804, allocations: 4 kB / 336.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.09832, allocations: 20 kB / 336.1 MB, free: 11.92 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.0001254/0.09845, allocations: 107.2 kB / 336.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.09884, allocations: 127.8 kB / 336.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.09886, allocations: 4.188 kB / 336.3 MB, free: 11.67 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.09902, allocations: 63.91 kB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.09945, allocations: 39.47 kB / 336.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.1002, allocations: 328.8 kB / 336.8 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1007, allocations: 0.7045 MB / 337.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.1007, allocations: 17.42 kB / 337.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.1008, allocations: 19.44 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1008, allocations: 192 / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of Templates: time 0.004667/0.1055, allocations: 1.698 MB / 339.2 MB, free: 8.762 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/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