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.0008428/0.0008428, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003635/0.003635, allocations: 145.3 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8097/0.8097, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.594e-05, allocations: 2.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001692/0.001708, allocations: 1.65 MB / 321.3 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005508/0.002259, allocations: 454.9 kB / 321.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.002327, allocations: 3.938 kB / 321.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.976e-05/0.002417, allocations: 11.86 kB / 321.8 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.002481, allocations: 35.72 kB / 321.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.002619, allocations: 55.81 kB / 321.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.002759, allocations: 123.5 kB / 322 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.002855, allocations: 21.28 kB / 322 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.002919, allocations: 63.81 kB / 322.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.00298, allocations: 31.84 kB / 322.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.003005, allocations: 8 kB / 322.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.003016, allocations: 8 kB / 322.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.003038, allocations: 23.91 kB / 322.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.003068, allocations: 31.86 kB / 322.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.003186, allocations: 91.62 kB / 322.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003188, allocations: 0 / 322.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.00319, allocations: 4 kB / 322.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.003193, allocations: 0 / 322.3 MB, free: 3.23 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.0004027/0.003596, allocations: 353.7 kB / 322.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.003627, allocations: 12.91 kB / 322.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.00366, allocations: 16.84 kB / 322.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.003839, allocations: 154.1 kB / 322.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.003854, allocations: 8.375 kB / 322.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.003877, allocations: 19.94 kB / 322.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.004055, allocations: 129.9 kB / 322.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.004065, allocations: 3.938 kB / 323 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.004076, allocations: 7.984 kB / 323 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004082, allocations: 7.984 kB / 323 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.004192, allocations: 63.89 kB / 323 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.004638, allocations: 492.4 kB / 323.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.00483, allocations: 126.4 kB / 323.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.004913, allocations: 60.81 kB / 323.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.004924, allocations: 4 kB / 323.7 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.004941, allocations: 30.56 kB / 323.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.004942, allocations: 4 kB / 323.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006696/0.005612, allocations: 445.7 kB / 324.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.005639, allocations: 51.41 kB / 324.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.00573, allocations: 150.4 kB / 324.4 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.00574, allocations: 33.64 kB / 324.4 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.005789, allocations: 112 kB / 324.5 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.005812, allocations: 43.58 kB / 324.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.005849, allocations: 33.72 kB / 324.6 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.005922, allocations: 322.8 kB / 324.9 MB, free: 404 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.006001, allocations: 55.95 kB / 325 MB, free: 348 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.006088, allocations: 79.33 kB / 325 MB, free: 256 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.00625, allocations: 135.3 kB / 325.2 MB, free: 108 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.006251, allocations: 4 kB / 325.2 MB, free: 104 kB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002191/0.00647, allocations: 181.2 kB / 325.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.006482, allocations: 8 kB / 325.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006487, allocations: 0 / 325.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006499, allocations: 3.938 kB / 325.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.006593, allocations: 40.06 kB / 325.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.006598, allocations: 4 kB / 325.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.006638, allocations: 15.98 kB / 325.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.006644, allocations: 4 kB / 325.4 MB, free: 15.85 MB / 298.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 6.503e-05/0.006709, allocations: 121.8 kB / 325.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.006726, allocations: 7.953 kB / 325.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.006751, allocations: 20.77 kB / 325.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006754, allocations: 7.938 kB / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.00676, allocations: 4 kB / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006762, allocations: 4 kB / 325.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.007165, allocations: 423.6 kB / 326 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007167, allocations: 4 kB / 326 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.007252, allocations: 39.97 kB / 326 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007254, allocations: 4 kB / 326 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007262, allocations: 4 kB / 326 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007263, allocations: 0 / 326 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007264, allocations: 0 / 326 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.007568, allocations: 316.9 kB / 326.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.007581, allocations: 19.98 kB / 326.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007593, allocations: 0 / 326.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.007645, allocations: 11.98 kB / 326.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.007682, allocations: 16.02 kB / 326.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.007686, allocations: 7.938 kB / 326.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.04e-05/0.007737, allocations: 118.1 kB / 326.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007737, allocations: 0 / 326.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.007894, allocations: 20 kB / 326.5 MB, free: 14.65 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 6.178e-05/0.007955, allocations: 91.25 kB / 326.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.008156, allocations: 131.8 kB / 326.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008157, allocations: 0 / 326.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.008241, allocations: 59.91 kB / 326.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.008487, allocations: 50.55 kB / 326.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.008893, allocations: 325.4 kB / 327.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.677e-05/0.00895, allocations: 98.78 kB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.008983, allocations: 24.47 kB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.008984, allocations: 0 / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of Templates: time 0.002051/0.01103, allocations: 1.755 MB / 329.1 MB, free: 12.07 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 3.917779636569321]