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.001071/0.001071, allocations: 99.03 kB / 17 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 194.5 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 4 kB / 307.1 MB, free: 1.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 51.53 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002101/0.1171, allocations: 1.367 MB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.118, allocations: 483.2 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1181, allocations: 3.938 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.1182, allocations: 15.92 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.1183, allocations: 15.84 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.1185, allocations: 31.97 kB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1187, allocations: 107.6 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1189, allocations: 29.08 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.1189, allocations: 31.8 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1191, allocations: 39.78 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1191, allocations: 4 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.78e-05/0.1191, allocations: 4 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.1191, allocations: 15.92 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.1193, allocations: 41.64 kB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.1194, allocations: 64.09 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.1194, allocations: 0 / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.441e-06/0.1194, allocations: 0 / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1194, allocations: 3.938 kB / 360.9 MB, free: 11.41 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.00074/0.1202, allocations: 430.8 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1202, allocations: 8.031 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.1203, allocations: 11.91 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1206, allocations: 206.4 kB / 361.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1207, allocations: 8 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.1207, allocations: 19.8 kB / 361.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.1211, allocations: 138.8 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1211, allocations: 0 / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1211, allocations: 4 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1211, allocations: 8 kB / 361.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.1213, allocations: 79.88 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.1222, allocations: 0.5556 MB / 362.3 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.1226, allocations: 154.4 kB / 362.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1228, allocations: 72.94 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1228, allocations: 0 / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1228, allocations: 30.56 kB / 362.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1228, allocations: 4 kB / 362.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.00128/0.1241, allocations: 0.5601 MB / 363.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1242, allocations: 55.34 kB / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1243, allocations: 149.7 kB / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1244, allocations: 33.7 kB / 363.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.1244, allocations: 108 kB / 363.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1245, allocations: 47.28 kB / 363.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.1245, allocations: 4 kB / 363.5 MB, free: 8.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1247, allocations: 322.8 kB / 363.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1248, allocations: 63.95 kB / 363.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.125, allocations: 91.39 kB / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1252, allocations: 67.97 kB / 364.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1252, allocations: 0 / 364.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003921/0.1256, allocations: 197.3 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1256, allocations: 12.05 kB / 364.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1256, allocations: 4 kB / 364.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1256, allocations: 0 / 364.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1258, allocations: 47.97 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1258, allocations: 0 / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.1259, allocations: 19.92 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1259, allocations: 12 kB / 364.3 MB, free: 7.645 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 0.0001347/0.1261, allocations: 118.8 kB / 364.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.1262, allocations: 11.91 kB / 364.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.1262, allocations: 20.66 kB / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1263, allocations: 0 / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1263, allocations: 0 / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1263, allocations: 0 / 364.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000808/0.1271, allocations: 0.5194 MB / 365 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1271, allocations: 7.984 kB / 365 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.1273, allocations: 47.97 kB / 365.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1273, allocations: 0 / 365.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1273, allocations: 4 kB / 365.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1273, allocations: 0 / 365.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1273, allocations: 0 / 365.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.128, allocations: 356.9 kB / 365.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.1281, allocations: 88.97 kB / 365.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1281, allocations: 4.047 kB / 365.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1283, allocations: 19.98 kB / 365.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.1283, allocations: 15.97 kB / 365.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.1283, allocations: 4 kB / 365.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.1284, allocations: 111.3 kB / 365.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1284, allocations: 0 / 365.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1287, allocations: 20 kB / 365.7 MB, free: 6.195 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.0001175/0.1288, allocations: 95.23 kB / 365.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.1292, allocations: 155.1 kB / 365.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.1292, allocations: 4.188 kB / 365.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.1294, allocations: 79.83 kB / 366 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.1298, allocations: 35.92 kB / 366 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.1304, allocations: 363.8 kB / 366.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1308, allocations: 0.7164 MB / 367.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.1308, allocations: 13.42 kB / 367.1 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.1309, allocations: 15.44 kB / 367.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1309, allocations: 4 kB / 367.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of Templates: time 0.004144/0.135, allocations: 1.439 MB / 368.6 MB, free: 3.238 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches