Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 115.1 kB / 18.46 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 211.3 kB / 21.42 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 51.91 kB / 374.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1114, allocations: 53.32 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003387/0.1148, allocations: 1.7 MB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.116, allocations: 0.5104 MB / 429.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1161, allocations: 7.938 kB / 429.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.1163, allocations: 11.81 kB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.1164, allocations: 27.8 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.1166, allocations: 51.92 kB / 429.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.1168, allocations: 111.6 kB / 429.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.117, allocations: 21.06 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.1171, allocations: 51.7 kB / 430 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1172, allocations: 47.66 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1172, allocations: 8 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.348e-05/0.1173, allocations: 8 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1173, allocations: 23.92 kB / 430.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.1174, allocations: 43.73 kB / 430.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1176, allocations: 95.44 kB / 430.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1176, allocations: 4 kB / 430.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1176, allocations: 0 / 430.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1176, allocations: 0 / 430.2 MB, free: 1.547 MB / 350.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.0007605/0.1183, allocations: 426.9 kB / 430.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1184, allocations: 12.03 kB / 430.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.1184, allocations: 12.84 kB / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1188, allocations: 224.7 kB / 430.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.1188, allocations: 8.375 kB / 430.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.1188, allocations: 20.02 kB / 430.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.1191, allocations: 124.2 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1192, allocations: 0 / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1192, allocations: 4 kB / 431 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1192, allocations: 8 kB / 431 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.1194, allocations: 67.89 kB / 431.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008281/0.1202, allocations: 0.5516 MB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.1206, allocations: 126.4 kB / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1208, allocations: 52.81 kB / 431.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1208, allocations: 4 kB / 431.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1208, allocations: 34.56 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1208, allocations: 0 / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001249/0.1221, allocations: 0.5106 MB / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1221, allocations: 51.41 kB / 432.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1223, allocations: 153.7 kB / 432.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1223, allocations: 25.8 kB / 432.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.1224, allocations: 123.9 kB / 432.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1224, allocations: 47.64 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.1225, allocations: 33.7 kB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1226, allocations: 330.8 kB / 433.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1228, allocations: 47.95 kB / 433.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.123, allocations: 93.48 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.1233, allocations: 127.3 kB / 433.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1233, allocations: 0 / 433.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004185/0.1237, allocations: 188.1 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1237, allocations: 8 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1238, allocations: 3.938 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1238, allocations: 0 / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1239, allocations: 35.97 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.124, allocations: 8.094 kB / 433.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.124, allocations: 19.98 kB / 433.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1241, allocations: 4 kB / 433.6 MB, free: 13.81 MB / 366.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.0001149/0.1242, allocations: 121.8 kB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1242, allocations: 11.91 kB / 433.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.1243, allocations: 20.64 kB / 433.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1243, allocations: 0 / 433.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1243, allocations: 4 kB / 433.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1243, allocations: 7.984 kB / 433.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/0.1251, allocations: 496 kB / 434.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1251, allocations: 4.062 kB / 434.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.1253, allocations: 31.98 kB / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1253, allocations: 3.938 kB / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1253, allocations: 0 / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1253, allocations: 7.984 kB / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1253, allocations: 0 / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.1259, allocations: 325 kB / 434.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.126, allocations: 89.02 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.126, allocations: 4 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.1262, allocations: 12.03 kB / 434.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.1262, allocations: 23.92 kB / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.1262, allocations: 96 / 434.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.422e-05/0.1263, allocations: 115.2 kB / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1263, allocations: 0 / 434.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1266, allocations: 20 kB / 434.9 MB, free: 12.42 MB / 366.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.0001202/0.1267, allocations: 103.7 kB / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.1271, allocations: 123.8 kB / 435.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1271, allocations: 0 / 435.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.1273, allocations: 67.83 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1277, allocations: 33.86 kB / 435.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.1284, allocations: 349.6 kB / 435.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1287, allocations: 0.7084 MB / 436.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.1288, allocations: 19.44 kB / 436.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1288, allocations: 0 / 436.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003791/0.1326, allocations: 1.703 MB / 438 MB, free: 9.266 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.080858665984124]