Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001447/0.001447, allocations: 115.1 kB / 17.29 MB, free: 6.219 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.001442/0.001442, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 46.44 kB / 300.8 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09819, allocations: 49.45 MB / 350.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003257/0.1015, allocations: 1.729 MB / 352 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007797/0.1023, allocations: 486.8 kB / 352.4 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.1024, allocations: 4 kB / 352.4 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.1025, allocations: 11.86 kB / 352.4 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.1026, allocations: 15.86 kB / 352.5 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.1028, allocations: 47.95 kB / 352.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.103, allocations: 115.5 kB / 352.6 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1031, allocations: 25.11 kB / 352.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.1032, allocations: 35.8 kB / 352.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.1033, allocations: 51.7 kB / 352.7 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1033, allocations: 8 kB / 352.7 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.1033, allocations: 8 kB / 352.7 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.1034, allocations: 27.92 kB / 352.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.1034, allocations: 43.67 kB / 352.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1035, allocations: 79.98 kB / 352.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1035, allocations: 0 / 352.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1035, allocations: 0 / 352.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1035, allocations: 0 / 352.9 MB, free: 2.078 MB / 286.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.0005262/0.1041, allocations: 423 kB / 353.3 MB, free: 1.617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1041, allocations: 8.031 kB / 353.3 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.1042, allocations: 20.75 kB / 353.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1044, allocations: 219.8 kB / 353.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1044, allocations: 11.94 kB / 353.6 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1044, allocations: 8 kB / 353.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.1047, allocations: 128.2 kB / 353.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1047, allocations: 0 / 353.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1048, allocations: 8 kB / 353.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1048, allocations: 4 kB / 353.7 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.105, allocations: 75.78 kB / 353.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.1056, allocations: 0.5477 MB / 354.3 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.1059, allocations: 126.4 kB / 354.5 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1061, allocations: 64.81 kB / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1061, allocations: 0 / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1061, allocations: 30.56 kB / 354.5 MB, free: 256 kB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1061, allocations: 0 / 354.5 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001078/0.1072, allocations: 0.5135 MB / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1073, allocations: 52.34 kB / 355.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1074, allocations: 153.9 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1074, allocations: 33.7 kB / 355.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1075, allocations: 115.7 kB / 355.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1075, allocations: 43.36 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.1076, allocations: 29.72 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.1077, allocations: 322.8 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1078, allocations: 51.95 kB / 355.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.108, allocations: 86.05 kB / 355.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.1083, allocations: 141.3 kB / 356.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1083, allocations: 3.938 kB / 356.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003451/0.1086, allocations: 177.2 kB / 356.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1087, allocations: 8 kB / 356.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1087, allocations: 7.984 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1087, allocations: 4.094 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1088, allocations: 35.97 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1089, allocations: 4 kB / 356.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.1089, allocations: 15.98 kB / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.109, allocations: 4 kB / 356.3 MB, free: 14.35 MB / 302.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 8.947e-05/0.1091, allocations: 121.8 kB / 356.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.1091, allocations: 11.84 kB / 356.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.1091, allocations: 24.7 kB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1092, allocations: 0 / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1092, allocations: 4 kB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1092, allocations: 0 / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.1099, allocations: 0.492 MB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1099, allocations: 4 kB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.1101, allocations: 35.91 kB / 357 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1101, allocations: 0 / 357 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1101, allocations: 4 kB / 357 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1101, allocations: 0 / 357 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1101, allocations: 0 / 357 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.1106, allocations: 313.1 kB / 357.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.1107, allocations: 100.9 kB / 357.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1107, allocations: 8 kB / 357.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1108, allocations: 7.984 kB / 357.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.1109, allocations: 15.98 kB / 357.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1109, allocations: 7.938 kB / 357.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.374e-05/0.111, allocations: 107.2 kB / 357.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.111, allocations: 7.938 kB / 357.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1113, allocations: 20 kB / 357.6 MB, free: 12.96 MB / 302.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.905e-05/0.1114, allocations: 103.2 kB / 357.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003498/0.1117, allocations: 135.4 kB / 357.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1117, allocations: 4.094 kB / 357.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1119, allocations: 68.16 kB / 357.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.1123, allocations: 39.97 kB / 357.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/0.113, allocations: 390.4 kB / 358.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.1133, allocations: 0.7122 MB / 359 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.1133, allocations: 19.44 kB / 359 MB, free: 11.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1133, allocations: 0 / 359 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Templates: time 0.003235/0.1166, allocations: 1.684 MB / 360.7 MB, free: 9.762 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches