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.0017/0.0017, allocations: 120.2 kB / 21.94 MB, free: 8 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.00209/0.00209, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.513/1.513, allocations: 207.6 MB / 236 MB, free: 9.988 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.001836/0.001836, allocations: 51.92 kB / 348.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2783, allocations: 49.17 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002893/0.2812, allocations: 1.679 MB / 399.3 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.2821, allocations: 0.5341 MB / 399.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.2822, allocations: 2.938 kB / 399.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2823, allocations: 14.91 kB / 399.8 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.2824, allocations: 26.69 kB / 399.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.2826, allocations: 49.44 kB / 399.9 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.2828, allocations: 116.7 kB / 400 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2829, allocations: 26.84 kB / 400 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.283, allocations: 48.56 kB / 400.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.2831, allocations: 43.39 kB / 400.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.2831, allocations: 7.875 kB / 400.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.2831, allocations: 8.094 kB / 400.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.2832, allocations: 26.23 kB / 400.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.2832, allocations: 48.64 kB / 400.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2834, allocations: 92.08 kB / 400.3 MB, free: 7.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2834, allocations: 4.938 kB / 400.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.2834, allocations: 5.156 kB / 400.3 MB, free: 7.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2834, allocations: 0 / 400.3 MB, free: 7.684 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.0005577/0.284, allocations: 356.5 kB / 400.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.284, allocations: 15.05 kB / 400.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.284, allocations: 10.64 kB / 400.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.2844, allocations: 163.6 kB / 400.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2844, allocations: 12.78 kB / 400.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.2844, allocations: 15.48 kB / 400.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2847, allocations: 126.2 kB / 401 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.2847, allocations: 0.5625 kB / 401 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2847, allocations: 5.125 kB / 401 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2847, allocations: 2.094 kB / 401 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.2849, allocations: 72.67 kB / 401.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.2856, allocations: 0.5188 MB / 401.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.2859, allocations: 125.2 kB / 401.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2861, allocations: 56.09 kB / 401.8 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.2861, allocations: 10.12 kB / 401.8 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2861, allocations: 36.64 kB / 401.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.2861, allocations: 0 / 401.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001083/0.2872, allocations: 437.5 kB / 402.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2872, allocations: 58.33 kB / 402.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2873, allocations: 160.1 kB / 402.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2874, allocations: 30.86 kB / 402.5 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.2874, allocations: 108.5 kB / 402.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.2874, allocations: 41.75 kB / 402.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.2875, allocations: 41.28 kB / 402.7 MB, free: 5.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.2875, allocations: 323.4 kB / 403 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2877, allocations: 50.45 kB / 403 MB, free: 5.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2878, allocations: 79.48 kB / 403.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.2881, allocations: 133.6 kB / 403.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2881, allocations: 1.094 kB / 403.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003473/0.2885, allocations: 179.3 kB / 403.4 MB, free: 5.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2885, allocations: 5.344 kB / 403.4 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2885, allocations: 5.531 kB / 403.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2885, allocations: 2.312 kB / 403.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2887, allocations: 39.16 kB / 403.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2887, allocations: 1.656 kB / 403.5 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.2888, allocations: 19.86 kB / 403.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2888, allocations: 8.219 kB / 403.5 MB, free: 5.336 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.174e-05/0.2888, allocations: 124 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.2889, allocations: 13.91 kB / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.2889, allocations: 20.56 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2889, allocations: 2.094 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2889, allocations: 0 / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2889, allocations: 0.7031 kB / 403.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.2896, allocations: 472.9 kB / 404.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2896, allocations: 1.156 kB / 404.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2898, allocations: 39.61 kB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2898, allocations: 1.188 kB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2898, allocations: 7.016 kB / 404.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2898, allocations: 1 kB / 404.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2898, allocations: 1.094 kB / 404.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.2903, allocations: 323.4 kB / 404.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.2903, allocations: 19.62 kB / 404.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.2904, allocations: 2.344 kB / 404.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2905, allocations: 11.16 kB / 404.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.2905, allocations: 21.3 kB / 404.6 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.2905, allocations: 3.625 kB / 404.6 MB, free: 4.598 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.2906, allocations: 112.2 kB / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2906, allocations: 0 / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.2908, allocations: 20.41 kB / 404.7 MB, free: 4.508 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 7.933e-05/0.2909, allocations: 102.6 kB / 404.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.2913, allocations: 124.7 kB / 404.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2913, allocations: 0 / 404.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2914, allocations: 66.33 kB / 405 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.2918, allocations: 41.3 kB / 405 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.2925, allocations: 363.1 kB / 405.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2926, allocations: 0.7077 MB / 406.1 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.2927, allocations: 20.16 kB / 406.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2927, allocations: 0 / 406.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of Templates: time 0.004011/0.2967, allocations: 1.702 MB / 407.8 MB, free: 3.211 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/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: 7.393277674214914]