Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 95.75 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002601/0.002601, allocations: 204.6 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002403, allocations: 4 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1063, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001933/0.1083, allocations: 1.348 MB / 359.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.1092, allocations: 499.1 kB / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.1093, allocations: 7.938 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.1093, allocations: 7.922 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1095, allocations: 15.95 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.1096, allocations: 39.91 kB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1098, allocations: 75.83 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1099, allocations: 29.09 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/0.11, allocations: 39.77 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1101, allocations: 39.78 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1101, allocations: 4 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.1102, allocations: 7.938 kB / 360.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.1102, allocations: 15.92 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1102, allocations: 37.64 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.398e-05/0.1103, allocations: 72.03 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1103, allocations: 0 / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1103, allocations: 0 / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1104, allocations: 4 kB / 360.3 MB, free: 11.68 MB / 302.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.0005376/0.1109, allocations: 422.3 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1109, allocations: 8.031 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.111, allocations: 7.906 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1112, allocations: 210.9 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1113, allocations: 12 kB / 360.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1113, allocations: 15.86 kB / 360.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1116, allocations: 136.2 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1116, allocations: 4 kB / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1116, allocations: 0 / 361.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1117, allocations: 4 kB / 361.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.1119, allocations: 79.88 kB / 361.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.1126, allocations: 0.5556 MB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.1129, allocations: 162.4 kB / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.1129, allocations: 0 / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.113, allocations: 30.56 kB / 361.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.113, allocations: 0 / 361.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001151/0.1141, allocations: 0.5681 MB / 362.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.1142, allocations: 51.41 kB / 362.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.1144, allocations: 153.7 kB / 362.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1144, allocations: 30.64 kB / 362.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.1144, allocations: 104 kB / 362.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.1145, allocations: 47.3 kB / 362.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.1145, allocations: 4 kB / 362.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1146, allocations: 326.8 kB / 363.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1148, allocations: 59.95 kB / 363.2 MB, free: 8.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.115, allocations: 91.39 kB / 363.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1151, allocations: 71.91 kB / 363.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1151, allocations: 0 / 363.4 MB, free: 8.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003838/0.1155, allocations: 193.4 kB / 363.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1155, allocations: 15.89 kB / 363.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1156, allocations: 0 / 363.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1156, allocations: 0 / 363.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.1158, allocations: 43.98 kB / 363.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1158, allocations: 11.98 kB / 363.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.1159, allocations: 19.98 kB / 363.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1159, allocations: 4 kB / 363.7 MB, free: 8.004 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.798e-05/0.116, allocations: 117.8 kB / 363.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.116, allocations: 11.91 kB / 363.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.1161, allocations: 16.67 kB / 363.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1161, allocations: 4 kB / 363.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1161, allocations: 0 / 363.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1161, allocations: 3.984 kB / 363.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/0.1169, allocations: 0.5194 MB / 364.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1169, allocations: 7.938 kB / 364.4 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1171, allocations: 35.98 kB / 364.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1171, allocations: 0 / 364.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.1171, allocations: 7.984 kB / 364.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1171, allocations: 3.938 kB / 364.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1171, allocations: 4.062 kB / 364.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.1177, allocations: 372.4 kB / 364.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.1178, allocations: 92.92 kB / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1178, allocations: 4.094 kB / 364.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1179, allocations: 16.03 kB / 364.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.118, allocations: 15.97 kB / 364.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.118, allocations: 11.98 kB / 364.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.304e-05/0.1181, allocations: 111.3 kB / 365 MB, free: 6.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1181, allocations: 0 / 365 MB, free: 6.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1184, allocations: 19.95 kB / 365 MB, free: 6.52 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 0.0001142/0.1185, allocations: 99.19 kB / 365.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.1189, allocations: 147.8 kB / 365.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1189, allocations: 0 / 365.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1191, allocations: 88.23 kB / 365.4 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1194, allocations: 38.78 kB / 365.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.12, allocations: 363.7 kB / 365.8 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1203, allocations: 0.7165 MB / 366.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.1204, allocations: 17.42 kB / 366.5 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.1204, allocations: 15.44 kB / 366.5 MB, free: 4.977 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1204, allocations: 0 / 366.5 MB, free: 4.977 MB / 302.1 MB Notification: Performance of Templates: time 0.004189/0.1246, allocations: 1.437 MB / 367.9 MB, free: 3.559 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches