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.001409/0.001409, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001681/0.001681, allocations: 160.4 kB / 25.45 MB, free: 9.352 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 0.9596/0.9596, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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 1.593e-06/1.593e-06, allocations: 0 / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.015e-05, allocations: 6.281 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002301/0.002331, allocations: 1.629 MB / 301.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000817/0.003148, allocations: 0.4919 MB / 301.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.003247, allocations: 7.938 kB / 301.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.003366, allocations: 11.86 kB / 301.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.003446, allocations: 27.8 kB / 301.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.00363, allocations: 51.81 kB / 301.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.003803, allocations: 127.5 kB / 302 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.00393, allocations: 17.23 kB / 302 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.004014, allocations: 63.81 kB / 302.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.004093, allocations: 31.91 kB / 302.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.004121, allocations: 8 kB / 302.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.004134, allocations: 8 kB / 302.2 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.004163, allocations: 27.84 kB / 302.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.004196, allocations: 23.92 kB / 302.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.004354, allocations: 95.56 kB / 302.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.004358, allocations: 0 / 302.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00436, allocations: 4 kB / 302.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.004365, allocations: 0 / 302.3 MB, free: 4.293 MB / 282.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.0005174/0.004882, allocations: 353.8 kB / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.004928, allocations: 15.98 kB / 302.7 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.004972, allocations: 8.891 kB / 302.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.005243, allocations: 166 kB / 302.8 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.005262, allocations: 16.31 kB / 302.9 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.00529, allocations: 8.375 kB / 302.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.005517, allocations: 128.8 kB / 303 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.005533, allocations: 3.938 kB / 303 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.005547, allocations: 8 kB / 303 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005552, allocations: 0 / 303 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.005676, allocations: 71.88 kB / 303.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.006235, allocations: 492.4 kB / 303.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.006457, allocations: 126.4 kB / 303.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.006541, allocations: 60.8 kB / 303.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.006554, allocations: 8 kB / 303.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.006575, allocations: 34.56 kB / 303.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.006576, allocations: 0 / 303.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007882/0.007364, allocations: 444.5 kB / 304.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.007398, allocations: 55.41 kB / 304.3 MB, free: 2.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007502, allocations: 158.2 kB / 304.4 MB, free: 2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.007517, allocations: 29.7 kB / 304.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.007579, allocations: 108 kB / 304.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.007605, allocations: 43.64 kB / 304.6 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.007651, allocations: 33.67 kB / 304.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.007733, allocations: 322.8 kB / 304.9 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.969e-05/0.007822, allocations: 55.95 kB / 305 MB, free: 1.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.007915, allocations: 84.33 kB / 305.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.008084, allocations: 131.3 kB / 305.2 MB, free: 1.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008086, allocations: 4 kB / 305.2 MB, free: 1.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000222/0.008308, allocations: 173.4 kB / 305.4 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.008322, allocations: 4 kB / 305.4 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008327, allocations: 0 / 305.4 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.008341, allocations: 4 kB / 305.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.008451, allocations: 40.06 kB / 305.4 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.008456, allocations: 3.938 kB / 305.4 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.0085, allocations: 19.92 kB / 305.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.008507, allocations: 7.938 kB / 305.5 MB, free: 0.9023 MB / 282.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 7.829e-05/0.008586, allocations: 129.7 kB / 305.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.008605, allocations: 11.91 kB / 305.6 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.008637, allocations: 20.77 kB / 305.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008639, allocations: 0 / 305.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.008643, allocations: 0 / 305.6 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008648, allocations: 7.938 kB / 305.6 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.009097, allocations: 419.7 kB / 306 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009099, allocations: 0 / 306 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.009196, allocations: 39.91 kB / 306.1 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.009201, allocations: 8.062 kB / 306.1 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.009211, allocations: 3.938 kB / 306.1 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.009214, allocations: 4 kB / 306.1 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009215, allocations: 0 / 306.1 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.009555, allocations: 313 kB / 306.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.009573, allocations: 19.91 kB / 306.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.009591, allocations: 7.938 kB / 306.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.009647, allocations: 12.03 kB / 306.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.009694, allocations: 23.91 kB / 306.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.0097, allocations: 4 kB / 306.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.009761, allocations: 116.1 kB / 306.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009761, allocations: 0 / 306.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.009926, allocations: 20 kB / 306.6 MB, free: 15.7 MB / 298.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 8.883e-05/0.01002, allocations: 95.25 kB / 306.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.01024, allocations: 116 kB / 306.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01025, allocations: 3.938 kB / 306.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.952e-05/0.01034, allocations: 67.89 kB / 306.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.01062, allocations: 51.55 kB / 306.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.01111, allocations: 333.5 kB / 307.2 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.431e-05/0.01119, allocations: 94.64 kB / 307.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.01122, allocations: 24.5 kB / 307.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01122, allocations: 3.938 kB / 307.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of Templates: time 0.002611/0.01384, allocations: 1.743 MB / 309.1 MB, free: 13.11 MB / 298.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.140059535391629]