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.001061/0.001061, allocations: 113.4 kB / 17.73 MB, free: 5.344 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.001092/0.001092, allocations: 184.1 kB / 18.66 MB, free: 4.422 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.489/1.489, allocations: 205.1 MB / 224.5 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.001379/0.001379, allocations: 51.92 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09982, allocations: 46.62 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003113/0.103, allocations: 1.671 MB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1042, allocations: 0.5236 MB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1043, allocations: 0 / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1046, allocations: 15.8 kB / 377.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1047, allocations: 27.78 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1049, allocations: 47.89 kB / 377.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.1052, allocations: 119.6 kB / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1054, allocations: 29.11 kB / 377.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.818e-05/0.1055, allocations: 47.72 kB / 377.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1056, allocations: 43.78 kB / 377.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.1056, allocations: 8 kB / 377.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.1056, allocations: 8 kB / 377.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.1057, allocations: 19.91 kB / 377.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.1057, allocations: 55.61 kB / 377.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1059, allocations: 91.58 kB / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1059, allocations: 0 / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1059, allocations: 0 / 377.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.106, allocations: 0 / 377.8 MB, free: 1.879 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.0006505/0.1066, allocations: 427 kB / 378.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1067, allocations: 11.97 kB / 378.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.1067, allocations: 16.75 kB / 378.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.107, allocations: 212.6 kB / 378.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.107, allocations: 8.375 kB / 378.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.1071, allocations: 24.11 kB / 378.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.1074, allocations: 128.1 kB / 378.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1074, allocations: 0 / 378.6 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1074, allocations: 4 kB / 378.6 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1074, allocations: 4 kB / 378.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1076, allocations: 67.89 kB / 378.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.1084, allocations: 0.5476 MB / 379.3 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.1088, allocations: 134.4 kB / 379.4 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1089, allocations: 56.81 kB / 379.4 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.109, allocations: 4 kB / 379.5 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.109, allocations: 42.62 kB / 379.5 MB, free: 36 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.109, allocations: 0 / 379.5 MB, free: 36 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.2101/0.3191, allocations: 0.4993 MB / 380 MB, free: 13.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3192, allocations: 54.94 kB / 380 MB, free: 12.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.3194, allocations: 155.6 kB / 380.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3194, allocations: 30.2 kB / 380.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3195, allocations: 109.8 kB / 380.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3195, allocations: 46.25 kB / 380.4 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.3195, allocations: 31.75 kB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.12e-05/0.3196, allocations: 327.2 kB / 380.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3198, allocations: 50.98 kB / 380.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3199, allocations: 77.55 kB / 380.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.3202, allocations: 135.3 kB / 381 MB, free: 12.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3203, allocations: 1.344 kB / 381 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004067/0.3207, allocations: 185.6 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3207, allocations: 6.219 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3207, allocations: 5.375 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.3208, allocations: 2.297 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.321, allocations: 38.95 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.321, allocations: 2.594 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.3211, allocations: 19.45 kB / 381.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3211, allocations: 5.078 kB / 381.2 MB, free: 12.28 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 9.253e-05/0.3212, allocations: 121.8 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3212, allocations: 15.03 kB / 381.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.3213, allocations: 15.72 kB / 381.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.3213, allocations: 1.188 kB / 381.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.3213, allocations: 3.594 kB / 381.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3213, allocations: 3.359 kB / 381.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.3222, allocations: 0.4888 MB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3222, allocations: 1.375 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.3223, allocations: 34.81 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3224, allocations: 1.375 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3224, allocations: 5.422 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3224, allocations: 1.375 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3224, allocations: 2.219 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.323, allocations: 320.8 kB / 382.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.323, allocations: 90.09 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.3231, allocations: 6.062 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3232, allocations: 11.17 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.3233, allocations: 16.69 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3233, allocations: 2.969 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.219e-05/0.3234, allocations: 118.3 kB / 382.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3234, allocations: 0.5312 kB / 382.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3236, allocations: 20.34 kB / 382.5 MB, free: 11.5 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 8.657e-05/0.3237, allocations: 111.3 kB / 382.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004143/0.3242, allocations: 124.1 kB / 382.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3242, allocations: 0 / 382.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.3244, allocations: 68.86 kB / 382.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.3248, allocations: 47.03 kB / 382.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.3255, allocations: 335.2 kB / 383.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.3257, allocations: 0.7086 MB / 383.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.3257, allocations: 12.86 kB / 383.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3258, allocations: 15.84 kB / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3258, allocations: 0 / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Templates: time 0.005171/0.331, allocations: 1.734 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