Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 105.2 kB / 17.59 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 187.6 kB / 18.51 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 52.11 kB / 301.3 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 49.44 MB / 350.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003252/0.1074, allocations: 1.663 MB / 352.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.1083, allocations: 488.2 kB / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1085, allocations: 0 / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.1086, allocations: 19.81 kB / 352.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.615e-05/0.1087, allocations: 27.77 kB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.109, allocations: 51.89 kB / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1092, allocations: 111.6 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1093, allocations: 33.09 kB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.1094, allocations: 35.8 kB / 353.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.635e-05/0.1095, allocations: 51.7 kB / 353.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.1095, allocations: 8 kB / 353.2 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.14e-05/0.1096, allocations: 8 kB / 353.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1096, allocations: 23.92 kB / 353.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.1097, allocations: 47.61 kB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1098, allocations: 95.84 kB / 353.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1098, allocations: 4 kB / 353.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1098, allocations: 4 kB / 353.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1098, allocations: 0 / 353.4 MB, free: 1.777 MB / 286.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.0006342/0.1105, allocations: 423 kB / 353.8 MB, free: 1.316 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1105, allocations: 8.031 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.1106, allocations: 20.75 kB / 353.8 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1108, allocations: 215.6 kB / 354 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1109, allocations: 11.94 kB / 354 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1109, allocations: 12 kB / 354 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.1112, allocations: 130.9 kB / 354.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1113, allocations: 7.844 kB / 354.2 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1113, allocations: 4 kB / 354.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1113, allocations: 4 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.1115, allocations: 67.94 kB / 354.3 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.1123, allocations: 0.5438 MB / 354.8 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.1126, allocations: 130.4 kB / 354.9 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1128, allocations: 60.81 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1128, allocations: 4 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1129, allocations: 30.56 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1129, allocations: 0 / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001211/0.1141, allocations: 0.5143 MB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1142, allocations: 55.41 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1143, allocations: 143.9 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1143, allocations: 37.69 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/0.1144, allocations: 111.8 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.1144, allocations: 43.36 kB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.1145, allocations: 37.7 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1146, allocations: 322.8 kB / 356.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1148, allocations: 51.95 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.115, allocations: 79.42 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.1153, allocations: 141.8 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1153, allocations: 3.938 kB / 356.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000397/0.1157, allocations: 185.3 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1157, allocations: 4 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1157, allocations: 0 / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1158, allocations: 4 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1159, allocations: 39.91 kB / 356.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1159, allocations: 0 / 356.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.116, allocations: 20.08 kB / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.116, allocations: 4 kB / 356.8 MB, free: 14.05 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.0001004/0.1162, allocations: 121.8 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.1162, allocations: 15.83 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.1162, allocations: 16.72 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1163, allocations: 3.984 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1163, allocations: 0 / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1163, allocations: 0 / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/0.1171, allocations: 0.4921 MB / 357.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1171, allocations: 4.062 kB / 357.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1172, allocations: 35.91 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1173, allocations: 4 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1173, allocations: 8 kB / 357.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1173, allocations: 4 kB / 357.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1173, allocations: 0 / 357.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005655/0.1179, allocations: 320.9 kB / 357.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.1179, allocations: 92.92 kB / 357.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.118, allocations: 48 / 357.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1181, allocations: 11.98 kB / 357.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1181, allocations: 15.98 kB / 357.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1182, allocations: 11.92 kB / 357.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.434e-05/0.1182, allocations: 114.9 kB / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1182, allocations: 0 / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1185, allocations: 20 kB / 358.1 MB, free: 12.66 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.0001186/0.1186, allocations: 103.7 kB / 358.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.119, allocations: 131.9 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.119, allocations: 3.938 kB / 358.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1192, allocations: 63.89 kB / 358.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.1197, allocations: 51.94 kB / 358.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.1204, allocations: 338.5 kB / 358.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.1207, allocations: 0.7161 MB / 359.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.1208, allocations: 19.44 kB / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1208, allocations: 0 / 359.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Templates: time 0.003703/0.1245, allocations: 1.682 MB / 361.2 MB, free: 9.508 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches