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.0009652/0.0009653, allocations: 89.27 kB / 16.3 MB, free: 6.133 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.0009234/0.0009235, allocations: 184.8 kB / 17.2 MB, free: 6.016 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.289/1.289, allocations: 223.2 MB / 241.1 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 7.938 kB / 300.7 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09763, allocations: 50.41 MB / 351.1 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001928/0.0996, allocations: 1.347 MB / 352.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006816/0.1003, allocations: 459.2 kB / 352.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.1004, allocations: 3.938 kB / 352.9 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.1004, allocations: 11.86 kB / 352.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1005, allocations: 27.89 kB / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.1007, allocations: 27.97 kB / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1009, allocations: 83.83 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.101, allocations: 29.09 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.1011, allocations: 31.78 kB / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.1012, allocations: 39.78 kB / 353.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1012, allocations: 4 kB / 353.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.1012, allocations: 4 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.1012, allocations: 23.91 kB / 353.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.1013, allocations: 37.64 kB / 353.2 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.1013, allocations: 64.09 kB / 353.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1013, allocations: 0 / 353.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1014, allocations: 4 kB / 353.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1014, allocations: 0 / 353.3 MB, free: 1.844 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.0004867/0.1019, allocations: 410.9 kB / 353.7 MB, free: 1.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1019, allocations: 8.031 kB / 353.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1019, allocations: 19.84 kB / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.1021, allocations: 203.4 kB / 353.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1022, allocations: 8 kB / 353.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1022, allocations: 15.91 kB / 354 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.1025, allocations: 150.8 kB / 354.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1025, allocations: 0 / 354.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1025, allocations: 7.938 kB / 354.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1025, allocations: 4 kB / 354.1 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1028, allocations: 75.95 kB / 354.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.1034, allocations: 0.5594 MB / 354.8 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.1038, allocations: 150.5 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1038, allocations: 0 / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1039, allocations: 30.56 kB / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.1039, allocations: 0 / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001207/0.1051, allocations: 0.5689 MB / 355.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1051, allocations: 51.5 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1052, allocations: 154.2 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1053, allocations: 29.7 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.1053, allocations: 111.8 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1054, allocations: 55.34 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.1054, allocations: 0 / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.1055, allocations: 326.8 kB / 356.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1056, allocations: 55.95 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1058, allocations: 95.33 kB / 356.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.106, allocations: 67.97 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.106, allocations: 3.938 kB / 356.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003858/0.1064, allocations: 193.4 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1064, allocations: 8 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1064, allocations: 0 / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1064, allocations: 0 / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.1066, allocations: 48 kB / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1066, allocations: 4 kB / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.1067, allocations: 27.94 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1067, allocations: 4 kB / 356.7 MB, free: 14.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.029e-05/0.1068, allocations: 125.8 kB / 356.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1069, allocations: 11.91 kB / 356.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.1069, allocations: 16.7 kB / 356.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1069, allocations: 4 kB / 356.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1069, allocations: 0 / 356.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1069, allocations: 0 / 356.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007597/0.1077, allocations: 0.5194 MB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1077, allocations: 4 kB / 357.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1079, allocations: 35.97 kB / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1079, allocations: 0 / 357.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1079, allocations: 8.062 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1079, allocations: 3.953 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1079, allocations: 0 / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.1085, allocations: 372.4 kB / 357.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1086, allocations: 96.95 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1086, allocations: 8.031 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1087, allocations: 20.08 kB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1088, allocations: 15.92 kB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1088, allocations: 4 kB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.1089, allocations: 117.5 kB / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1089, allocations: 0 / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1091, allocations: 20 kB / 358.1 MB, free: 12.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.229e-05/0.1092, allocations: 95.19 kB / 358.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.1096, allocations: 139.9 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1096, allocations: 4.188 kB / 358.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.1098, allocations: 79.89 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1101, allocations: 39.92 kB / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.1107, allocations: 377.7 kB / 358.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1109, allocations: 0.7165 MB / 359.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.219e-05/0.1109, allocations: 21.42 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.111, allocations: 15.44 kB / 359.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.111, allocations: 0 / 359.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of Templates: time 0.003562/0.1146, allocations: 1.445 MB / 361 MB, free: 9.691 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches