Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001998/0.001998, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.002087/0.002087, allocations: 160.4 kB / 25.02 MB, free: 7.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.247e-06/3.247e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.706e-05/5.031e-05, allocations: 10.31 kB / 250.3 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00493/0.004981, allocations: 1.639 MB / 252 MB, free: 2.293 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.006422, allocations: 0.4964 MB / 252.5 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.006537, allocations: 4 kB / 252.5 MB, free: 1.785 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.006705, allocations: 19.8 kB / 252.5 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.00684, allocations: 31.72 kB / 252.5 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.007092, allocations: 47.88 kB / 252.6 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.007379, allocations: 123.6 kB / 252.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.007526, allocations: 13.3 kB / 252.7 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.00768, allocations: 63.81 kB / 252.8 MB, free: 1.492 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.00781, allocations: 35.84 kB / 252.8 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.007846, allocations: 8 kB / 252.8 MB, free: 1.449 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.007871, allocations: 8 kB / 252.8 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.00792, allocations: 27.84 kB / 252.9 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.007988, allocations: 23.92 kB / 252.9 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.008229, allocations: 95.62 kB / 253 MB, free: 1.297 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.008234, allocations: 0 / 253 MB, free: 1.297 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.008236, allocations: 0 / 253 MB, free: 1.297 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.008242, allocations: 0 / 253 MB, free: 1.297 MB / 234.7 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.0009104/0.009152, allocations: 353.8 kB / 253.3 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.009213, allocations: 19.97 kB / 253.3 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.942e-05/0.009302, allocations: 16.84 kB / 253.4 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.00976, allocations: 162.1 kB / 253.5 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.009794, allocations: 12.33 kB / 253.5 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.009841, allocations: 8.375 kB / 253.5 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.01029, allocations: 136.7 kB / 253.7 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.0103, allocations: 7.938 kB / 253.7 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.01032, allocations: 4 kB / 253.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.01033, allocations: 7.984 kB / 253.7 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.01067, allocations: 75.78 kB / 253.8 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.01175, allocations: 480.6 kB / 254.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.01231, allocations: 126.5 kB / 254.4 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.01255, allocations: 56.81 kB / 254.4 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.01257, allocations: 4 kB / 254.4 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.01263, allocations: 34.69 kB / 254.4 MB, free: 15.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.01263, allocations: 0 / 254.4 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001884/0.01452, allocations: 445.3 kB / 254.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.01461, allocations: 59.34 kB / 254.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.01488, allocations: 162 kB / 255.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.01492, allocations: 29.7 kB / 255.1 MB, free: 14.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.01506, allocations: 108 kB / 255.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.01513, allocations: 47.58 kB / 255.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.01524, allocations: 29.72 kB / 255.3 MB, free: 14.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.01553, allocations: 326.8 kB / 255.6 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.01579, allocations: 47.95 kB / 255.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.01631, allocations: 79.39 kB / 255.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.01686, allocations: 135.3 kB / 255.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01686, allocations: 0 / 255.9 MB, free: 14.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000797/0.01766, allocations: 192.2 kB / 256.1 MB, free: 13.96 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.01768, allocations: 8 kB / 256.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.01769, allocations: 0 / 256.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.01772, allocations: 0 / 256.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.01805, allocations: 43.84 kB / 256.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.01806, allocations: 4 kB / 256.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.01822, allocations: 19.92 kB / 256.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.01824, allocations: 8.094 kB / 256.2 MB, free: 13.88 MB / 250.7 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.0001926/0.01843, allocations: 121.8 kB / 256.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.0185, allocations: 15.91 kB / 256.3 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.827e-05/0.01857, allocations: 20.77 kB / 256.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01857, allocations: 0 / 256.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01858, allocations: 0 / 256.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.01859, allocations: 3.938 kB / 256.3 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.02014, allocations: 428.1 kB / 256.7 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.02015, allocations: 0 / 256.7 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.02051, allocations: 35.97 kB / 256.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.02051, allocations: 0 / 256.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.02053, allocations: 3.938 kB / 256.8 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.02054, allocations: 4 kB / 256.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02054, allocations: 0 / 256.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.02175, allocations: 333.1 kB / 257.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.0218, allocations: 15.94 kB / 257.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.02185, allocations: 11.94 kB / 257.1 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.02208, allocations: 11.98 kB / 257.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.02218, allocations: 15.98 kB / 257.2 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.02219, allocations: 0 / 257.2 MB, free: 12.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.02236, allocations: 119.9 kB / 257.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.02236, allocations: 4 kB / 257.3 MB, free: 12.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004939/0.02286, allocations: 16 kB / 257.3 MB, free: 12.66 MB / 250.7 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.0001856/0.02304, allocations: 99.19 kB / 257.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.02379, allocations: 124 kB / 257.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.0238, allocations: 0 / 257.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.02419, allocations: 63.91 kB / 257.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.02498, allocations: 42.86 kB / 257.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.02618, allocations: 321.9 kB / 257.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.02636, allocations: 98.77 kB / 258 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.713e-05/0.02646, allocations: 13.48 kB / 258 MB, free: 11.86 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.02654, allocations: 16.5 kB / 258.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02654, allocations: 4 kB / 258.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of Templates: time 0.01017/0.03671, allocations: 1.872 MB / 259.9 MB, free: 9.977 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.419757416006178]