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.001479/0.001479, allocations: 100.3 kB / 18.39 MB, free: 4.66 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.001595/0.001595, allocations: 188.2 kB / 19.33 MB, free: 3.734 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.386/1.386, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00128/0.00128, allocations: 51.94 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08772, allocations: 46.61 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002981/0.09074, allocations: 1.676 MB / 377.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.09174, allocations: 0.5228 MB / 378 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.09188, allocations: 0 / 378 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.09203, allocations: 23.8 kB / 378 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.09212, allocations: 19.8 kB / 378 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.09231, allocations: 47.88 kB / 378.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.0925, allocations: 115.6 kB / 378.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.09263, allocations: 33.09 kB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.09271, allocations: 43.73 kB / 378.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.09281, allocations: 47.77 kB / 378.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.09284, allocations: 8 kB / 378.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.09286, allocations: 4 kB / 378.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.0929, allocations: 19.94 kB / 378.4 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.09296, allocations: 51.61 kB / 378.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.09312, allocations: 99.55 kB / 378.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.09313, allocations: 4 kB / 378.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09314, allocations: 0 / 378.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.09315, allocations: 0 / 378.5 MB, free: 1.887 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.0005729/0.09374, allocations: 427 kB / 378.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.09378, allocations: 11.97 kB / 378.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.09384, allocations: 16.75 kB / 378.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.09415, allocations: 204.7 kB / 379.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.09418, allocations: 8.375 kB / 379.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.09422, allocations: 20.12 kB / 379.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.09451, allocations: 128.1 kB / 379.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.09454, allocations: 4 kB / 379.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.09456, allocations: 4 kB / 379.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.09457, allocations: 0 / 379.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.09478, allocations: 75.88 kB / 379.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.0955, allocations: 0.5476 MB / 379.9 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.09584, allocations: 134.4 kB / 380.1 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.09599, allocations: 56.81 kB / 380.1 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.09601, allocations: 0 / 380.1 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.09604, allocations: 38.69 kB / 380.2 MB, free: 56 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.09605, allocations: 7.938 kB / 380.2 MB, free: 48 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.1731/0.2691, allocations: 0.4988 MB / 380.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2692, allocations: 52.78 kB / 380.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2693, allocations: 157.6 kB / 380.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2694, allocations: 28.95 kB / 380.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.2694, allocations: 114.8 kB / 381 MB, free: 12.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.2695, allocations: 41 kB / 381 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.2695, allocations: 33.25 kB / 381.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.2696, allocations: 328.5 kB / 381.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.2697, allocations: 49.08 kB / 381.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.2699, allocations: 81.55 kB / 381.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2702, allocations: 130.3 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2702, allocations: 2.25 kB / 381.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003698/0.2706, allocations: 182.4 kB / 381.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2706, allocations: 5.5 kB / 381.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2706, allocations: 6.328 kB / 381.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2707, allocations: 2.75 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2708, allocations: 37.23 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2708, allocations: 4.469 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.2709, allocations: 17.08 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.271, allocations: 7 kB / 381.9 MB, free: 12.3 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 6.985e-05/0.271, allocations: 121.6 kB / 382 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.2711, allocations: 14.17 kB / 382 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.2711, allocations: 14.94 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2711, allocations: 2.219 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2711, allocations: 0.7969 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2711, allocations: 1.375 kB / 382.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.2718, allocations: 0.5002 MB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2719, allocations: 1.891 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.272, allocations: 31.41 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.272, allocations: 1.375 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.272, allocations: 6.688 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2721, allocations: 4.172 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2721, allocations: 1.875 kB / 382.6 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.2726, allocations: 317 kB / 382.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.2727, allocations: 87.94 kB / 383 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2727, allocations: 10.06 kB / 383 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.2728, allocations: 11.59 kB / 383 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.2729, allocations: 15.44 kB / 383 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2729, allocations: 7.328 kB / 383.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.737e-05/0.273, allocations: 116.7 kB / 383.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.273, allocations: 0 / 383.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.2732, allocations: 20.12 kB / 383.2 MB, free: 11.53 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 9.973e-05/0.2733, allocations: 105.4 kB / 383.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003957/0.2737, allocations: 131.9 kB / 383.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2738, allocations: 0 / 383.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.274, allocations: 70.58 kB / 383.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.2744, allocations: 45.11 kB / 383.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.2751, allocations: 360.1 kB / 383.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.2753, allocations: 0.7134 MB / 384.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.2753, allocations: 15.41 kB / 384.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2753, allocations: 0 / 384.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of Templates: time 0.004131/0.2795, allocations: 1.72 MB / 386.3 MB, free: 10.36 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/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