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.0017/0.0017, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002002/0.002002, allocations: 146.9 kB / 23.93 MB, free: 4.188 MB / 14.72 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 1.424/1.424, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.502e-06/1.502e-06, allocations: 0 / 318.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.819e-05, allocations: 2.281 kB / 318.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002502/0.00253, allocations: 1.64 MB / 320.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.003298, allocations: 459.4 kB / 321 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.003394, allocations: 1.281 kB / 321 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.003503, allocations: 19.42 kB / 321 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.141e-05/0.003584, allocations: 25.09 kB / 321 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.003754, allocations: 56.05 kB / 321.1 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.003954, allocations: 123.3 kB / 321.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.004081, allocations: 19.69 kB / 321.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004184, allocations: 67.41 kB / 321.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.004279, allocations: 27.42 kB / 321.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.004306, allocations: 7.25 kB / 321.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/0.004327, allocations: 7.906 kB / 321.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.004357, allocations: 25.78 kB / 321.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.004399, allocations: 30.73 kB / 321.4 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.00455, allocations: 92.89 kB / 321.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.004554, allocations: 5.344 kB / 321.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004555, allocations: 0 / 321.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004559, allocations: 3.938 kB / 321.5 MB, free: 1.836 MB / 286.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.000519/0.005078, allocations: 353.5 kB / 321.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.005114, allocations: 13.48 kB / 321.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.005155, allocations: 15.81 kB / 321.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.005388, allocations: 155 kB / 322 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.005405, allocations: 8.5 kB / 322 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.005436, allocations: 14.7 kB / 322 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.005712, allocations: 139.3 kB / 322.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.005726, allocations: 5.125 kB / 322.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005738, allocations: 1.594 kB / 322.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005743, allocations: 1.688 kB / 322.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.005961, allocations: 64.84 kB / 322.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.006502, allocations: 489.6 kB / 322.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.006862, allocations: 126.3 kB / 322.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.007006, allocations: 58.55 kB / 322.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.007022, allocations: 0 / 322.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.007043, allocations: 42.98 kB / 323 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.007044, allocations: 3.938 kB / 323 MB, free: 0.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001049/0.008092, allocations: 444 kB / 323.4 MB, free: 468 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.008113, allocations: 53.95 kB / 323.4 MB, free: 404 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.008217, allocations: 152.2 kB / 323.6 MB, free: 288 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.008228, allocations: 27.27 kB / 323.6 MB, free: 256 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.008271, allocations: 113.7 kB / 323.7 MB, free: 148 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.008297, allocations: 48.02 kB / 323.8 MB, free: 108 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.008342, allocations: 38.58 kB / 323.8 MB, free: 76 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.008487, allocations: 325.9 kB / 324.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.008643, allocations: 51.38 kB / 324.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.008819, allocations: 83.02 kB / 324.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.009136, allocations: 130.6 kB / 324.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.009137, allocations: 0 / 324.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003928/0.00953, allocations: 180.2 kB / 324.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.009544, allocations: 5.438 kB / 324.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.00955, allocations: 5.781 kB / 324.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.009567, allocations: 5.125 kB / 324.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.009755, allocations: 47.17 kB / 324.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.009762, allocations: 1.969 kB / 324.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.009844, allocations: 12.91 kB / 324.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.009858, allocations: 8.094 kB / 324.7 MB, free: 15.53 MB / 302.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.0001017/0.009959, allocations: 115.1 kB / 324.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.009992, allocations: 9.234 kB / 324.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.01004, allocations: 17.73 kB / 324.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.01004, allocations: 9.516 kB / 324.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.01005, allocations: 5.875 kB / 324.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01005, allocations: 1.312 kB / 324.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/0.01083, allocations: 433.2 kB / 325.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01084, allocations: 2.016 kB / 325.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.011, allocations: 35.08 kB / 325.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.011, allocations: 2.125 kB / 325.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.01102, allocations: 5.375 kB / 325.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01102, allocations: 2.078 kB / 325.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.01103, allocations: 5.375 kB / 325.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.01166, allocations: 324.3 kB / 325.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.01168, allocations: 8.078 kB / 325.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.0117, allocations: 6.172 kB / 325.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01182, allocations: 12.14 kB / 325.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.01188, allocations: 13.42 kB / 325.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.01189, allocations: 3.453 kB / 325.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.674e-05/0.01199, allocations: 110.9 kB / 325.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01199, allocations: 0 / 325.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000253/0.01224, allocations: 20.5 kB / 325.8 MB, free: 14.76 MB / 302.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.0001178/0.01236, allocations: 100.5 kB / 325.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003898/0.01275, allocations: 126.2 kB / 326 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01275, allocations: 0 / 326 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.01293, allocations: 68.53 kB / 326.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.01336, allocations: 49.8 kB / 326.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.01414, allocations: 294.6 kB / 326.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01425, allocations: 101.6 kB / 326.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.01431, allocations: 10.47 kB / 326.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.01436, allocations: 22.53 kB / 326.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.01436, allocations: 0 / 326.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Templates: time 0.005812/0.02017, allocations: 1.86 MB / 328.4 MB, free: 14.07 MB / 302.1 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: 4.210820958018303]