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.001268/0.001268, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 62.27 kB / 306.9 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003247/0.1165, allocations: 1.682 MB / 359.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1176, allocations: 0.5198 MB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1178, allocations: 0 / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1179, allocations: 15.81 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.118, allocations: 23.8 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1183, allocations: 59.86 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1185, allocations: 107.6 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.1186, allocations: 29.09 kB / 359.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.1187, allocations: 35.86 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1188, allocations: 55.64 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1188, allocations: 8 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.1188, allocations: 12 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.1189, allocations: 15.92 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.1189, allocations: 47.67 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1191, allocations: 91.86 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1191, allocations: 0 / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1191, allocations: 0 / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1191, allocations: 0 / 360.1 MB, free: 11.39 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.0006483/0.1198, allocations: 430.9 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1198, allocations: 8.031 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1198, allocations: 12.84 kB / 360.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1201, allocations: 216.6 kB / 360.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1201, allocations: 4.375 kB / 360.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.1202, allocations: 20.06 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.1204, allocations: 126.6 kB / 360.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1205, allocations: 11.89 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1205, allocations: 8 kB / 361 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1205, allocations: 0 / 361 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.1207, allocations: 67.89 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.1214, allocations: 0.5477 MB / 361.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1218, allocations: 134.4 kB / 361.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1219, allocations: 60.81 kB / 361.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1219, allocations: 0 / 361.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.122, allocations: 34.56 kB / 361.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.122, allocations: 0 / 361.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001238/0.1232, allocations: 0.5058 MB / 362.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.1233, allocations: 51.41 kB / 362.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1234, allocations: 161.5 kB / 362.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1234, allocations: 25.7 kB / 362.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1235, allocations: 107.9 kB / 362.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.1235, allocations: 51.3 kB / 362.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.1236, allocations: 29.7 kB / 362.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1237, allocations: 326.8 kB / 363 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1239, allocations: 47.97 kB / 363.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.1241, allocations: 94.19 kB / 363.2 MB, free: 8.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1244, allocations: 135.2 kB / 363.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1244, allocations: 0 / 363.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003793/0.1247, allocations: 177.3 kB / 363.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1248, allocations: 8 kB / 363.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1248, allocations: 8.031 kB / 363.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1248, allocations: 0 / 363.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.125, allocations: 43.97 kB / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.125, allocations: 4.938 kB / 363.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.1251, allocations: 11.98 kB / 363.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1251, allocations: 4 kB / 363.6 MB, free: 7.664 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.0001054/0.1252, allocations: 125.7 kB / 363.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1253, allocations: 15.89 kB / 363.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1253, allocations: 20.66 kB / 363.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1253, allocations: 0 / 363.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1253, allocations: 4 kB / 363.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1253, allocations: 0 / 363.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.1262, allocations: 0.492 MB / 364.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1262, allocations: 4 kB / 364.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.1264, allocations: 31.97 kB / 364.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1265, allocations: 3.938 kB / 364.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1265, allocations: 8 kB / 364.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1265, allocations: 0 / 364.3 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1265, allocations: 4.062 kB / 364.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.1271, allocations: 321 kB / 364.6 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1271, allocations: 88.92 kB / 364.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.1272, allocations: 4 kB / 364.7 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1273, allocations: 11.98 kB / 364.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.1273, allocations: 15.92 kB / 364.7 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.1274, allocations: 4 kB / 364.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.656e-05/0.1274, allocations: 114.3 kB / 364.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1274, allocations: 4 kB / 364.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1277, allocations: 24 kB / 364.8 MB, free: 6.27 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.0001203/0.1278, allocations: 95.28 kB / 364.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.1282, allocations: 131.8 kB / 365.1 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1282, allocations: 0 / 365.1 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.1284, allocations: 68.09 kB / 365.1 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1289, allocations: 46.86 kB / 365.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.1295, allocations: 328.1 kB / 365.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1298, allocations: 0.7122 MB / 366.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.1299, allocations: 17.42 kB / 366.2 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.1299, allocations: 15.44 kB / 366.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1299, allocations: 0 / 366.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of Templates: time 0.004248/0.1342, allocations: 1.68 MB / 367.9 MB, free: 3.137 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