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.001831/0.001839, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002461/0.002461, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001778, allocations: 63.83 kB / 307.6 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1048, allocations: 50.54 MB / 358.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00305/0.1079, allocations: 1.679 MB / 359.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.1089, allocations: 0.5159 MB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.109, allocations: 4 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.932e-05/0.1091, allocations: 15.8 kB / 360.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/0.1092, allocations: 23.8 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.1094, allocations: 47.94 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1096, allocations: 111.6 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1097, allocations: 33.09 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.1098, allocations: 39.8 kB / 360.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1099, allocations: 55.58 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.1099, allocations: 8 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.1099, allocations: 8 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.11, allocations: 23.92 kB / 360.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.11, allocations: 43.67 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.1102, allocations: 87.92 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1102, allocations: 4 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1102, allocations: 4 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1102, allocations: 0 / 360.9 MB, free: 11.35 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.0006017/0.1108, allocations: 430.9 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1109, allocations: 8.031 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.1109, allocations: 12.84 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1112, allocations: 207.6 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1112, allocations: 8.375 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.1112, allocations: 16.12 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.1115, allocations: 138.5 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1116, allocations: 3.906 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1116, allocations: 4 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1116, allocations: 4 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.1118, allocations: 71.88 kB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.1125, allocations: 0.5438 MB / 362.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.1129, allocations: 130.5 kB / 362.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1131, allocations: 56.81 kB / 362.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1131, allocations: 8.125 kB / 362.5 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1131, allocations: 34.56 kB / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.1131, allocations: 0 / 362.5 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001173/0.1143, allocations: 0.5061 MB / 363 MB, free: 8.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1144, allocations: 55.88 kB / 363.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1146, allocations: 149.5 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.1146, allocations: 33.7 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1147, allocations: 107.9 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.1148, allocations: 43.3 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.1149, allocations: 41.66 kB / 363.5 MB, free: 8.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.1151, allocations: 326.8 kB / 363.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1152, allocations: 51.91 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1154, allocations: 75.39 kB / 363.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.1157, allocations: 139.3 kB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1157, allocations: 0 / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003866/0.1161, allocations: 177.4 kB / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1162, allocations: 4 kB / 364.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1162, allocations: 3.938 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1162, allocations: 4 kB / 364.2 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1164, allocations: 39.91 kB / 364.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1164, allocations: 0 / 364.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.1165, allocations: 24.06 kB / 364.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1165, allocations: 4 kB / 364.3 MB, free: 7.633 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.000109/0.1166, allocations: 125.8 kB / 364.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1167, allocations: 11.91 kB / 364.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.1167, allocations: 24.64 kB / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1167, allocations: 0 / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1167, allocations: 0 / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1167, allocations: 0 / 364.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008142/0.1176, allocations: 0.4921 MB / 364.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1176, allocations: 64 / 364.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1177, allocations: 35.97 kB / 365 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1178, allocations: 4 kB / 365 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1178, allocations: 4 kB / 365 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1178, allocations: 0 / 365 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1178, allocations: 4 kB / 365 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.1184, allocations: 320.9 kB / 365.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.1185, allocations: 92.95 kB / 365.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1185, allocations: 4 kB / 365.4 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1186, allocations: 11.98 kB / 365.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1187, allocations: 15.98 kB / 365.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1187, allocations: 4 kB / 365.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1188, allocations: 118.3 kB / 365.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1188, allocations: 96 / 365.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1191, allocations: 23.94 kB / 365.6 MB, free: 6.242 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.0001437/0.1192, allocations: 99.12 kB / 365.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.1196, allocations: 127.9 kB / 365.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1196, allocations: 0 / 365.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.1198, allocations: 67.83 kB / 365.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.1202, allocations: 39.72 kB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.121, allocations: 350.1 kB / 366.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1213, allocations: 0.7122 MB / 366.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.1214, allocations: 15.44 kB / 367 MB, free: 4.766 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1214, allocations: 0 / 367 MB, free: 4.766 MB / 302.1 MB Notification: Performance of Templates: time 0.003639/0.125, allocations: 1.697 MB / 368.7 MB, free: 3.078 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches