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.001475/0.001475, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001583/0.001583, allocations: 214.9 kB / 24.47 MB, free: 3.793 MB / 14.72 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.441/1.441, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 63.42 kB / 347.7 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3072, allocations: 49.15 MB / 396.8 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003081/0.3103, allocations: 1.636 MB / 398.5 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008664/0.3112, allocations: 0.5019 MB / 399 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.3113, allocations: 6.656 kB / 399 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.3114, allocations: 14.81 kB / 399 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.3115, allocations: 26.81 kB / 399 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3117, allocations: 47.28 kB / 399.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.3118, allocations: 115.9 kB / 399.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.312, allocations: 22.81 kB / 399.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.312, allocations: 49.22 kB / 399.3 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.3121, allocations: 42.14 kB / 399.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.3122, allocations: 7.75 kB / 399.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.3122, allocations: 8.562 kB / 399.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3122, allocations: 18.19 kB / 399.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.3122, allocations: 40.78 kB / 399.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3124, allocations: 95.95 kB / 399.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3124, allocations: 0 / 399.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3124, allocations: 1.062 kB / 399.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3124, allocations: 4 kB / 399.5 MB, free: 7.883 MB / 318.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.0005216/0.3129, allocations: 358.1 kB / 399.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.313, allocations: 14.14 kB / 399.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.313, allocations: 14.75 kB / 399.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.3133, allocations: 156.2 kB / 400 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3133, allocations: 7.812 kB / 400 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.3134, allocations: 16.44 kB / 400 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3137, allocations: 131.1 kB / 400.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3137, allocations: 4 kB / 400.2 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3137, allocations: 1.438 kB / 400.2 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3137, allocations: 3.297 kB / 400.2 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.3139, allocations: 65.02 kB / 400.2 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.3146, allocations: 492.6 kB / 400.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3149, allocations: 125.5 kB / 400.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3151, allocations: 52.52 kB / 400.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.3151, allocations: 1.188 kB / 400.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3151, allocations: 41.89 kB / 400.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.3151, allocations: 0 / 400.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001116/0.3162, allocations: 449.9 kB / 401.4 MB, free: 6.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.3163, allocations: 54.73 kB / 401.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3164, allocations: 159.8 kB / 401.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.3164, allocations: 26.98 kB / 401.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.3164, allocations: 117.9 kB / 401.7 MB, free: 6.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3165, allocations: 44.19 kB / 401.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.3165, allocations: 35.44 kB / 401.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.3166, allocations: 321.6 kB / 402.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3167, allocations: 52.38 kB / 402.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3169, allocations: 86.78 kB / 402.2 MB, free: 5.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.3172, allocations: 134.1 kB / 402.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3172, allocations: 1.406 kB / 402.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003672/0.3176, allocations: 175.2 kB / 402.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3176, allocations: 5.156 kB / 402.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3176, allocations: 1.344 kB / 402.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3176, allocations: 5.766 kB / 402.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3178, allocations: 39.81 kB / 402.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3178, allocations: 5.125 kB / 402.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.3179, allocations: 16.56 kB / 402.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3179, allocations: 3.625 kB / 402.6 MB, free: 5.578 MB / 318.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 7.386e-05/0.318, allocations: 119.9 kB / 402.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.318, allocations: 14.06 kB / 402.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.318, allocations: 12.47 kB / 402.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.318, allocations: 7.047 kB / 402.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.318, allocations: 0 / 402.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.318, allocations: 4.641 kB / 402.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/0.3187, allocations: 436.4 kB / 403.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3187, allocations: 3.938 kB / 403.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3189, allocations: 35.39 kB / 403.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3189, allocations: 2.219 kB / 403.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3189, allocations: 10.16 kB / 403.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3189, allocations: 9.031 kB / 403.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3189, allocations: 1.062 kB / 403.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.3194, allocations: 320.6 kB / 403.6 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.3195, allocations: 17.3 kB / 403.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3195, allocations: 6.969 kB / 403.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3196, allocations: 14.8 kB / 403.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.3196, allocations: 9.734 kB / 403.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3197, allocations: 3.625 kB / 403.6 MB, free: 4.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.836e-05/0.3197, allocations: 115 kB / 403.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3197, allocations: 0 / 403.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.32, allocations: 24.59 kB / 403.8 MB, free: 4.781 MB / 318.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 8.122e-05/0.3201, allocations: 91.84 kB / 403.8 MB, free: 4.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.3205, allocations: 127.4 kB / 404 MB, free: 4.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3205, allocations: 0 / 404 MB, free: 4.664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.3206, allocations: 64.14 kB / 404 MB, free: 4.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.3211, allocations: 44.14 kB / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.3217, allocations: 328.4 kB / 404.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.943e-05/0.3218, allocations: 94.45 kB / 404.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.3218, allocations: 16.66 kB / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3219, allocations: 16.22 kB / 404.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3219, allocations: 192 / 404.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of Templates: time 0.00634/0.3282, allocations: 1.962 MB / 406.5 MB, free: 4.027 MB / 318.1 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.627778220921755]