Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, 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.00156/0.00156, 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 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 61.28 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003058/0.1103, allocations: 1.667 MB / 360.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.1113, allocations: 0.5197 MB / 360.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.1114, allocations: 11.94 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1115, allocations: 11.86 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.1116, allocations: 23.78 kB / 360.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.1118, allocations: 51.89 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.112, allocations: 111.6 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1122, allocations: 29.09 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.1122, allocations: 39.8 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.383e-05/0.1123, allocations: 51.7 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1124, allocations: 8 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-05/0.1124, allocations: 8 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.1125, allocations: 27.84 kB / 361 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.1125, allocations: 43.69 kB / 361 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1127, allocations: 87.91 kB / 361.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1127, allocations: 4 kB / 361.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1127, allocations: 0 / 361.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1127, allocations: 0 / 361.1 MB, free: 11.24 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.0006912/0.1134, allocations: 426.9 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1135, allocations: 12.03 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.1135, allocations: 12.84 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1138, allocations: 216.6 kB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1138, allocations: 8.375 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1138, allocations: 24.05 kB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.1141, allocations: 130.7 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1142, allocations: 3.906 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1142, allocations: 8 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1142, allocations: 0 / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1144, allocations: 67.94 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.1151, allocations: 0.5515 MB / 362.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.1155, allocations: 130.4 kB / 362.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1157, allocations: 56.81 kB / 362.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1157, allocations: 0 / 362.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1158, allocations: 34.56 kB / 362.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1158, allocations: 4 kB / 362.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001282/0.1171, allocations: 0.5058 MB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1171, allocations: 55.39 kB / 363.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1173, allocations: 150.3 kB / 363.5 MB, free: 8.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1173, allocations: 29.7 kB / 363.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.1174, allocations: 111.9 kB / 363.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.1174, allocations: 43.3 kB / 363.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.1175, allocations: 37.64 kB / 363.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1176, allocations: 330.8 kB / 364 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1178, allocations: 51.95 kB / 364.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.118, allocations: 81.89 kB / 364.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.1183, allocations: 131.3 kB / 364.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1183, allocations: 0 / 364.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003898/0.1187, allocations: 181.4 kB / 364.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1187, allocations: 8 kB / 364.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1187, allocations: 3.938 kB / 364.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1188, allocations: 0 / 364.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1189, allocations: 39.91 kB / 364.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1189, allocations: 4 kB / 364.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.119, allocations: 15.98 kB / 364.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1191, allocations: 9 kB / 364.5 MB, free: 7.512 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.0001871/0.1192, allocations: 117.8 kB / 364.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.1193, allocations: 11.91 kB / 364.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.1193, allocations: 16.66 kB / 364.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1194, allocations: 4 kB / 364.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1194, allocations: 0 / 364.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1194, allocations: 3.984 kB / 364.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.1202, allocations: 0.4958 MB / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1203, allocations: 4 kB / 365.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1204, allocations: 28.05 kB / 365.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1205, allocations: 4 kB / 365.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1205, allocations: 11.98 kB / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1205, allocations: 0 / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1205, allocations: 0 / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.1211, allocations: 324.9 kB / 365.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.1212, allocations: 88.92 kB / 365.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1212, allocations: 8 kB / 365.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1213, allocations: 12.03 kB / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.1214, allocations: 11.98 kB / 365.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1214, allocations: 8 kB / 365.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.79e-05/0.1215, allocations: 115.2 kB / 365.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1215, allocations: 0 / 365.8 MB, free: 6.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1217, allocations: 16 kB / 365.8 MB, free: 6.129 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.0001126/0.1219, allocations: 107.2 kB / 365.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.1222, allocations: 132 kB / 366 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1222, allocations: 0 / 366 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.1224, allocations: 63.89 kB / 366.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1229, allocations: 40.23 kB / 366.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.1235, allocations: 345.8 kB / 366.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1239, allocations: 0.72 MB / 367.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.124, allocations: 15.44 kB / 367.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.124, allocations: 0 / 367.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of Templates: time 0.003589/0.1276, allocations: 1.68 MB / 368.9 MB, free: 2.969 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches