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.001494/0.001501, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001707/0.001707, allocations: 195.3 kB / 19.18 MB, free: 3.977 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 / 225 MB, free: 12.3 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.002105/0.002105, allocations: 55.92 kB / 281.3 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1131, allocations: 46.62 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.0034/0.1166, allocations: 1.664 MB / 329.6 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.1176, allocations: 0.5245 MB / 330.1 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1177, allocations: 0 / 330.1 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1179, allocations: 11.86 kB / 330.1 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.118, allocations: 31.72 kB / 330.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1182, allocations: 43.94 kB / 330.2 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1184, allocations: 123.6 kB / 330.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1185, allocations: 28.83 kB / 330.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.1186, allocations: 43.8 kB / 330.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1187, allocations: 47.72 kB / 330.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.1188, allocations: 4 kB / 330.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.1188, allocations: 8 kB / 330.5 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.1188, allocations: 23.86 kB / 330.5 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.1189, allocations: 51.72 kB / 330.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.119, allocations: 91.86 kB / 330.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.119, allocations: 0 / 330.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.119, allocations: 0 / 330.6 MB, free: 1.758 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1191, allocations: 4 kB / 330.6 MB, free: 1.754 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.0006004/0.1197, allocations: 423 kB / 331 MB, free: 1.293 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1197, allocations: 16.02 kB / 331.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.1198, allocations: 12.75 kB / 331.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.12, allocations: 208.7 kB / 331.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1201, allocations: 12.31 kB / 331.3 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1201, allocations: 12.12 kB / 331.3 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1204, allocations: 132.2 kB / 331.4 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1204, allocations: 0 / 331.4 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1204, allocations: 4 kB / 331.4 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1204, allocations: 0 / 331.4 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.1206, allocations: 71.8 kB / 331.5 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/0.1214, allocations: 0.5438 MB / 332 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.1218, allocations: 142.4 kB / 332.2 MB, free: 32 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1219, allocations: 52.81 kB / 332.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.122, allocations: 4 kB / 332.2 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.122, allocations: 38.56 kB / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.122, allocations: 0 / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001187/0.1232, allocations: 0.5105 MB / 332.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.1233, allocations: 51.41 kB / 332.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1234, allocations: 154.2 kB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1234, allocations: 25.8 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1235, allocations: 123.8 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.1236, allocations: 39.36 kB / 333.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.1236, allocations: 37.7 kB / 333.2 MB, free: 14.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1238, allocations: 322.8 kB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1239, allocations: 47.97 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.1241, allocations: 83.38 kB / 333.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1244, allocations: 135.3 kB / 333.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1244, allocations: 0 / 333.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004079/0.1249, allocations: 173.4 kB / 334 MB, free: 14.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.1249, allocations: 15.92 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1249, allocations: 3.938 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1249, allocations: 7.984 kB / 334 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1251, allocations: 35.98 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.1251, allocations: 0 / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.1252, allocations: 20.08 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1252, allocations: 4 kB / 334 MB, free: 14.03 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.0001156/0.1254, allocations: 125.8 kB / 334.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.1254, allocations: 11.91 kB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.1255, allocations: 16.66 kB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1255, allocations: 4 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1255, allocations: 3.938 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1255, allocations: 0 / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.1263, allocations: 0.4959 MB / 334.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1263, allocations: 0 / 334.7 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.1265, allocations: 32.05 kB / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1265, allocations: 0 / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1265, allocations: 4 kB / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1265, allocations: 3.938 kB / 334.7 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1265, allocations: 0 / 334.7 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.1272, allocations: 317 kB / 335 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.1272, allocations: 88.92 kB / 335.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1273, allocations: 8 kB / 335.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1274, allocations: 12.03 kB / 335.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.1274, allocations: 23.86 kB / 335.2 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1275, allocations: 4.094 kB / 335.2 MB, free: 12.78 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.282e-05/0.1276, allocations: 116 kB / 335.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1276, allocations: 0 / 335.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1278, allocations: 20 kB / 335.3 MB, free: 12.64 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.0001238/0.128, allocations: 107.1 kB / 335.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1283, allocations: 135.8 kB / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1284, allocations: 4 kB / 335.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.1285, allocations: 67.89 kB / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.129, allocations: 48.77 kB / 335.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.1298, allocations: 346.5 kB / 336 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1301, allocations: 0.7084 MB / 336.7 MB, free: 11.17 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.1301, allocations: 15.44 kB / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1301, allocations: 0 / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of Templates: time 0.003687/0.1338, allocations: 1.701 MB / 338.4 MB, free: 9.453 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/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