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.001372/0.001372, allocations: 99.05 kB / 16.5 MB, free: 6.641 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.001593/0.001593, allocations: 195.4 kB / 17.42 MB, free: 6.066 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009791/0.0009791, allocations: 46.42 kB / 300 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1075, allocations: 49.44 MB / 349.4 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002865/0.1104, allocations: 1.717 MB / 351.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007484/0.1112, allocations: 490.8 kB / 351.6 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.1112, allocations: 0 / 351.6 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.1114, allocations: 7.922 kB / 351.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.1115, allocations: 23.8 kB / 351.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.1116, allocations: 39.95 kB / 351.7 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1118, allocations: 111.6 kB / 351.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1119, allocations: 25.11 kB / 351.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.112, allocations: 39.78 kB / 351.8 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1121, allocations: 51.64 kB / 351.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1121, allocations: 4 kB / 351.9 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.1122, allocations: 8 kB / 351.9 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.1122, allocations: 11.94 kB / 351.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.1123, allocations: 47.73 kB / 352 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1124, allocations: 91.84 kB / 352 MB, free: 1.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1124, allocations: 4 kB / 352 MB, free: 1.934 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1124, allocations: 0 / 352 MB, free: 1.934 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1124, allocations: 0 / 352 MB, free: 1.934 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.0005754/0.113, allocations: 434.9 kB / 352.5 MB, free: 1.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.113, allocations: 8.031 kB / 352.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.1131, allocations: 16.75 kB / 352.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1133, allocations: 211.5 kB / 352.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1133, allocations: 11.94 kB / 352.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1134, allocations: 11.94 kB / 352.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1136, allocations: 128.1 kB / 352.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1137, allocations: 0 / 352.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1137, allocations: 4 kB / 352.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1137, allocations: 8 kB / 352.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1139, allocations: 67.8 kB / 352.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.1146, allocations: 0.5594 MB / 353.5 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1149, allocations: 118.5 kB / 353.6 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.1151, allocations: 65 kB / 353.7 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1151, allocations: 3.938 kB / 353.7 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1152, allocations: 30.56 kB / 353.7 MB, free: 104 kB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.1152, allocations: 0 / 353.7 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001117/0.1163, allocations: 0.5134 MB / 354.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1163, allocations: 59.39 kB / 354.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1165, allocations: 150.3 kB / 354.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1165, allocations: 29.7 kB / 354.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1166, allocations: 115.9 kB / 354.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.1166, allocations: 47.27 kB / 354.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.1167, allocations: 33.7 kB / 354.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1168, allocations: 322.8 kB / 355 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1169, allocations: 51.95 kB / 355 MB, free: 14.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1171, allocations: 79.39 kB / 355.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1174, allocations: 142.2 kB / 355.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1174, allocations: 0 / 355.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003744/0.1178, allocations: 177.3 kB / 355.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1178, allocations: 4 kB / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.1179, allocations: 4 kB / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1179, allocations: 0 / 355.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1181, allocations: 51.94 kB / 355.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1181, allocations: 0 / 355.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.1182, allocations: 11.98 kB / 355.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1182, allocations: 4 kB / 355.5 MB, free: 14.2 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 0.0001018/0.1183, allocations: 129.7 kB / 355.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1183, allocations: 11.84 kB / 355.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1184, allocations: 16.72 kB / 355.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1184, allocations: 4 kB / 355.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1184, allocations: 0 / 355.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1184, allocations: 3.984 kB / 355.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007716/0.1192, allocations: 499.9 kB / 356.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1192, allocations: 0 / 356.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1194, allocations: 27.98 kB / 356.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1194, allocations: 4 kB / 356.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1194, allocations: 7.984 kB / 356.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1194, allocations: 4 kB / 356.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.1194, allocations: 3.984 kB / 356.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.12, allocations: 321 kB / 356.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.12, allocations: 92.92 kB / 356.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1201, allocations: 4 kB / 356.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1202, allocations: 12.03 kB / 356.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.1203, allocations: 11.98 kB / 356.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1203, allocations: 11.92 kB / 356.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.114e-05/0.1204, allocations: 114.7 kB / 356.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1204, allocations: 0 / 356.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1206, allocations: 20 kB / 356.7 MB, free: 12.82 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 0.0001134/0.1208, allocations: 111.1 kB / 356.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.1211, allocations: 123.2 kB / 357 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1211, allocations: 0 / 357 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1213, allocations: 68.2 kB / 357 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.1218, allocations: 44.19 kB / 357.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.1225, allocations: 366.4 kB / 357.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1228, allocations: 0.7165 MB / 358.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.516e-05/0.1229, allocations: 17.5 kB / 358.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.1229, allocations: 11.44 kB / 358.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1229, allocations: 0 / 358.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Templates: time 0.004016/0.1269, allocations: 1.511 MB / 359.7 MB, free: 9.816 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","/var/lib/jenkins/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