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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 116.9 kB / 18.4 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002323/0.002324, allocations: 190.9 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 247 MB, free: 4.316 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 47.92 kB / 358.7 MB, free: 8.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09646, allocations: 49.43 MB / 408.1 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003035/0.09953, allocations: 1.671 MB / 409.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.1005, allocations: 490.7 kB / 410.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.1006, allocations: 3.938 kB / 410.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1008, allocations: 15.86 kB / 410.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.1009, allocations: 23.8 kB / 410.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.1011, allocations: 51.88 kB / 410.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1013, allocations: 111.6 kB / 410.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1014, allocations: 33.09 kB / 410.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.162e-05/0.1015, allocations: 39.8 kB / 410.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1016, allocations: 47.7 kB / 410.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1016, allocations: 8 kB / 410.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.981e-05/0.1017, allocations: 8 kB / 410.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.1017, allocations: 23.88 kB / 410.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.1018, allocations: 47.66 kB / 410.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1019, allocations: 103.5 kB / 410.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.102, allocations: 0 / 410.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.102, allocations: 0 / 410.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.102, allocations: 0 / 410.8 MB, free: 4.281 MB / 334.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.0006255/0.1026, allocations: 436.7 kB / 411.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1027, allocations: 12.03 kB / 411.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.1027, allocations: 12.84 kB / 411.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.103, allocations: 217.8 kB / 411.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1031, allocations: 11.94 kB / 411.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1031, allocations: 8 kB / 411.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1034, allocations: 128.2 kB / 411.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1034, allocations: 0 / 411.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1034, allocations: 8 kB / 411.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1035, allocations: 4 kB / 411.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.1037, allocations: 71.88 kB / 411.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.1044, allocations: 0.5477 MB / 412.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.1048, allocations: 126.4 kB / 412.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.105, allocations: 68.75 kB / 412.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.105, allocations: 0 / 412.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1051, allocations: 38.5 kB / 412.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.1051, allocations: 0 / 412.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001178/0.1063, allocations: 0.5136 MB / 412.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1063, allocations: 55.41 kB / 413 MB, free: 1.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1065, allocations: 153.3 kB / 413.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1065, allocations: 29.7 kB / 413.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.1066, allocations: 120 kB / 413.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.1066, allocations: 47.64 kB / 413.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.1067, allocations: 25.72 kB / 413.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1068, allocations: 326.8 kB / 413.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.107, allocations: 47.97 kB / 413.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1072, allocations: 79.55 kB / 413.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.1075, allocations: 137.8 kB / 413.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1075, allocations: 4 kB / 413.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003956/0.1079, allocations: 177.4 kB / 414.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1079, allocations: 7.938 kB / 414.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.108, allocations: 7.984 kB / 414.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.108, allocations: 0 / 414.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1082, allocations: 40.06 kB / 414.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1082, allocations: 4 kB / 414.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.1083, allocations: 15.98 kB / 414.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1083, allocations: 4 kB / 414.2 MB, free: 0.543 MB / 334.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 9.862e-05/0.1084, allocations: 121.8 kB / 414.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.1084, allocations: 11.89 kB / 414.3 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.1085, allocations: 21.64 kB / 414.3 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1085, allocations: 0 / 414.3 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1085, allocations: 4 kB / 414.3 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1085, allocations: 4 kB / 414.3 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008451/0.1093, allocations: 0.4959 MB / 414.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1094, allocations: 0 / 414.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1095, allocations: 35.97 kB / 414.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1095, allocations: 0 / 414.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1096, allocations: 4 kB / 414.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1096, allocations: 4 kB / 414.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1096, allocations: 3.938 kB / 414.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.1102, allocations: 313 kB / 415.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.1102, allocations: 93.09 kB / 415.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1103, allocations: 0 / 415.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1104, allocations: 15.98 kB / 415.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1105, allocations: 23.92 kB / 415.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1105, allocations: 0 / 415.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.1106, allocations: 117.7 kB / 415.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1106, allocations: 7.875 kB / 415.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1108, allocations: 24 kB / 415.5 MB, free: 15.14 MB / 350.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.000103/0.1109, allocations: 95.72 kB / 415.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.1113, allocations: 123.9 kB / 415.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1114, allocations: 0 / 415.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.1115, allocations: 67.89 kB / 415.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1119, allocations: 50.14 kB / 415.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.1126, allocations: 358.1 kB / 416.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.113, allocations: 0.7084 MB / 416.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.113, allocations: 19.38 kB / 416.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.113, allocations: 0 / 416.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Templates: time 0.003654/0.1167, allocations: 1.715 MB / 418.6 MB, free: 11.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.076007718918845]