Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001482, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.486/1.486, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3372, allocations: 53.3 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003158/0.3403, allocations: 1.702 MB / 433.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3413, allocations: 0.5182 MB / 434.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.3414, allocations: 3.938 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3415, allocations: 11.86 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.1e-05/0.3416, allocations: 31.72 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.3418, allocations: 51.94 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.342, allocations: 111.6 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3422, allocations: 21.11 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.3422, allocations: 47.72 kB / 434.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3423, allocations: 47.77 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3424, allocations: 4 kB / 434.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.3424, allocations: 8 kB / 434.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.3424, allocations: 23.86 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.3425, allocations: 47.67 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.3427, allocations: 93.48 kB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3427, allocations: 0 / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3427, allocations: 4 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3427, allocations: 0 / 434.8 MB, free: 4.637 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.0006979/0.3434, allocations: 430.9 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3434, allocations: 12.03 kB / 435.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.3435, allocations: 12.84 kB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.3438, allocations: 216.7 kB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3438, allocations: 8.375 kB / 435.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.3439, allocations: 27.94 kB / 435.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.3442, allocations: 131.5 kB / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3442, allocations: 0 / 435.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3442, allocations: 4 kB / 435.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.3442, allocations: 4 kB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.3445, allocations: 71.89 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.3452, allocations: 0.5438 MB / 436.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.3456, allocations: 130.5 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3458, allocations: 60.94 kB / 436.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3458, allocations: 4 kB / 436.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3459, allocations: 34.56 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.3459, allocations: 0 / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001258/0.3471, allocations: 0.5173 MB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3472, allocations: 51.41 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3473, allocations: 153.7 kB / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3473, allocations: 29.7 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.3474, allocations: 112 kB / 437.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.3475, allocations: 51.62 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.3475, allocations: 33.7 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3477, allocations: 322.8 kB / 437.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3478, allocations: 47.97 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.348, allocations: 86.19 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.3483, allocations: 132.2 kB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3483, allocations: 0 / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003833/0.3487, allocations: 177.5 kB / 438.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3487, allocations: 8 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3487, allocations: 7.922 kB / 438.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3487, allocations: 0 / 438.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3489, allocations: 35.92 kB / 438.2 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3489, allocations: 4 kB / 438.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.218e-05/0.349, allocations: 20.08 kB / 438.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.349, allocations: 4 kB / 438.2 MB, free: 0.9023 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 0.0001236/0.3491, allocations: 141.6 kB / 438.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.3491, allocations: 11.91 kB / 438.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.3492, allocations: 20.66 kB / 438.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3492, allocations: 0 / 438.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3492, allocations: 4 kB / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3492, allocations: 0 / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.35, allocations: 492 kB / 438.8 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.35, allocations: 3.984 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.3502, allocations: 36.05 kB / 438.9 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3502, allocations: 0 / 438.9 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3502, allocations: 4 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3502, allocations: 4 kB / 438.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3502, allocations: 3.938 kB / 438.9 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.3508, allocations: 320.9 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.3509, allocations: 89.02 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3509, allocations: 4 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.351, allocations: 12.03 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.3511, allocations: 19.98 kB / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.3511, allocations: 0 / 439.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.164e-05/0.3512, allocations: 115.2 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.3514, allocations: 24 kB / 439.5 MB, free: 15.51 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.0001228/0.3515, allocations: 103.2 kB / 439.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.3519, allocations: 127.5 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3519, allocations: 0 / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3521, allocations: 63.91 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3525, allocations: 40.34 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.3532, allocations: 361.6 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3536, allocations: 0.7122 MB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.3536, allocations: 19.44 kB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3536, allocations: 0 / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Templates: time 0.003696/0.3573, allocations: 1.699 MB / 442.6 MB, free: 12.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.168507141061127]