Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008286/0.0008286, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007792/0.0007792, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8742/0.8742, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.43e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00205/0.002074, allocations: 1.658 MB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006653/0.002739, allocations: 494.7 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.002817, allocations: 11.94 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.002921, allocations: 7.875 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.002987, allocations: 31.73 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.003135, allocations: 55.8 kB / 326.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.003272, allocations: 119.6 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003378, allocations: 21.08 kB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.003448, allocations: 59.81 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.003517, allocations: 31.91 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.00354, allocations: 8 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.003553, allocations: 8 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.003576, allocations: 27.84 kB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.003603, allocations: 27.92 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.003721, allocations: 91.62 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003722, allocations: 0 / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003723, allocations: 3.938 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003727, allocations: 0 / 327.1 MB, free: 13.23 MB / 298.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.0004247/0.004152, allocations: 349.8 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.004192, allocations: 15.97 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.004226, allocations: 46.75 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.004253, allocations: 16.84 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.004459, allocations: 154.1 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.004475, allocations: 12.33 kB / 327.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.004497, allocations: 12.38 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.004686, allocations: 128.5 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.004697, allocations: 3.938 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.004707, allocations: 8 kB / 327.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.004713, allocations: 4 kB / 327.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.004827, allocations: 67.88 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.005327, allocations: 0.5076 MB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.005543, allocations: 130.4 kB / 328.6 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.863e-05/0.005622, allocations: 56.81 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.005634, allocations: 4 kB / 328.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.005655, allocations: 30.56 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.005657, allocations: 0 / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007546/0.006411, allocations: 444.9 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.006452, allocations: 59.34 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.006553, allocations: 158.8 kB / 329.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.006565, allocations: 29.7 kB / 329.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.006623, allocations: 116 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.006646, allocations: 43.64 kB / 329.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.006684, allocations: 29.72 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.006772, allocations: 322.8 kB / 329.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.006857, allocations: 51.95 kB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.174e-05/0.006949, allocations: 79.39 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.007125, allocations: 143.2 kB / 330.1 MB, free: 10 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.007126, allocations: 0 / 330.1 MB, free: 10 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002184/0.007345, allocations: 178.4 kB / 330.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.007357, allocations: 7.938 kB / 330.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.007362, allocations: 0 / 330.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.007375, allocations: 4 kB / 330.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.007473, allocations: 39.91 kB / 330.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.007478, allocations: 0 / 330.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.007519, allocations: 15.98 kB / 330.4 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.007525, allocations: 4 kB / 330.4 MB, free: 9.75 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.911e-05/0.007594, allocations: 133.8 kB / 330.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.007612, allocations: 11.91 kB / 330.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.007639, allocations: 24.7 kB / 330.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00764, allocations: 0 / 330.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.007647, allocations: 3.938 kB / 330.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.007651, allocations: 0 / 330.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.008097, allocations: 463 kB / 331 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008099, allocations: 0 / 331 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.008191, allocations: 27.98 kB / 331 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008194, allocations: 4 kB / 331 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.008203, allocations: 4 kB / 331 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.008205, allocations: 0 / 331 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.008208, allocations: 11.92 kB / 331 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.008526, allocations: 317 kB / 331.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.00854, allocations: 11.91 kB / 331.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.008555, allocations: 8 kB / 331.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.008606, allocations: 8.031 kB / 331.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.008647, allocations: 15.98 kB / 331.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.008652, allocations: 3.984 kB / 331.4 MB, free: 8.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000256/0.008908, allocations: 111.3 kB / 331.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008908, allocations: 3.938 kB / 331.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.009075, allocations: 24 kB / 331.5 MB, free: 8.504 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 0.0004885/0.009563, allocations: 0.8466 MB / 332.4 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.009785, allocations: 115.9 kB / 332.5 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.009787, allocations: 4 kB / 332.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.009877, allocations: 63.89 kB / 332.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.01019, allocations: 55.45 kB / 332.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.01176, allocations: 1.921 MB / 334.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.769e-05/0.01183, allocations: 102.4 kB / 334.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.01189, allocations: 17.48 kB / 334.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.01194, allocations: 40.48 kB / 334.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01195, allocations: 0 / 334.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.03009, allocations: 4.167 MB / 338.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/6.797, allocations: 5.906 kB / 338.9 MB, free: 1.121 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable limit_a.y in file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,limit_a.y,limit_v.y,positionSmoothed.y Variables in the result:time,a.u,positionSmoothed.y,v.u [Calling sys.exit(0), Time elapsed: 8.499987469054759]