Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.000881/0.000881, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009405/0.0009405, allocations: 174.3 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9258/0.9258, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.831e-05, allocations: 4.672 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003168/0.003197, allocations: 1.485 MB / 326.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.004701, allocations: 0.5728 MB / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.004772, allocations: 0 / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.004877, allocations: 7.875 kB / 326.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.004967, allocations: 27.73 kB / 326.7 MB, free: 13.81 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.005782, allocations: 151.4 kB / 326.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.00596, allocations: 115.6 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.006006, allocations: 5.312 kB / 326.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.006081, allocations: 67.86 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.006501, allocations: 65.39 kB / 327.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.006526, allocations: 8 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.006786, allocations: 151.6 kB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.006827, allocations: 31.91 kB / 327.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.006867, allocations: 35.84 kB / 327.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.007131, allocations: 211.4 kB / 327.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.007134, allocations: 0 / 327.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.007136, allocations: 0 / 327.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.007141, allocations: 0 / 327.5 MB, free: 12.99 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004692/0.00761, allocations: 392.3 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.007645, allocations: 12.03 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.007698, allocations: 38.73 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.007876, allocations: 36.83 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.007978, allocations: 145.5 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.007993, allocations: 4.375 kB / 328.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.008007, allocations: 8.375 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.008158, allocations: 118.7 kB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.008165, allocations: 192 / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.008174, allocations: 7.938 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.008179, allocations: 3.984 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.008276, allocations: 63.89 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.008775, allocations: 399.9 kB / 328.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.008957, allocations: 129.1 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.009016, allocations: 49.75 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.009023, allocations: 0 / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.009191, allocations: 145.1 kB / 329 MB, free: 11.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.009192, allocations: 0 / 329 MB, free: 11.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002973/0.00949, allocations: 229.5 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.009536, allocations: 97.05 kB / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.009682, allocations: 178.8 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.009708, allocations: 53.67 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.009754, allocations: 104.6 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.009783, allocations: 39.73 kB / 329.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.009839, allocations: 53.94 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.009919, allocations: 330.8 kB / 330.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.01003, allocations: 96.47 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01014, allocations: 128.4 kB / 330.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.01035, allocations: 215.4 kB / 330.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01035, allocations: 0 / 330.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002799/0.01063, allocations: 297.3 kB / 330.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.01064, allocations: 4 kB / 330.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01065, allocations: 4 kB / 330.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.01066, allocations: 0 / 330.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.01074, allocations: 32.03 kB / 330.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01075, allocations: 7.938 kB / 330.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.01079, allocations: 23.83 kB / 330.9 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.0108, allocations: 12 kB / 330.9 MB, free: 9.355 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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 9.469e-05/0.0109, allocations: 141.8 kB / 331 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.01091, allocations: 11.91 kB / 331 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.01093, allocations: 17.45 kB / 331 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01093, allocations: 4 kB / 331 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01094, allocations: 4 kB / 331 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01094, allocations: 8.016 kB / 331.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.01113, allocations: 176.5 kB / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.01113, allocations: 0 / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.01115, allocations: 11.92 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01115, allocations: 4 kB / 331.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.01116, allocations: 0 / 331.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.01116, allocations: 0 / 331.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01116, allocations: 0 / 331.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.01136, allocations: 221.8 kB / 331.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.01138, allocations: 19.84 kB / 331.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.0114, allocations: 11.98 kB / 331.5 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.944e-05/0.01143, allocations: 4 kB / 331.5 MB, free: 8.664 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.01146, allocations: 19.91 kB / 331.5 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.01147, allocations: 4 kB / 331.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.485e-05/0.01153, allocations: 124.2 kB / 331.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01153, allocations: 0 / 331.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000189/0.01172, allocations: 47.92 kB / 331.7 MB, free: 8.473 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007306/0.01245, allocations: 0.9354 MB / 332.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.0127, allocations: 183.8 kB / 332.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0127, allocations: 0 / 332.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.01277, allocations: 47.98 kB / 332.8 MB, free: 7.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.01289, allocations: 11.98 kB / 332.9 MB, free: 7.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.01451, allocations: 2.108 MB / 335 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.789e-05/0.01457, allocations: 98.28 kB / 335.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.01461, allocations: 16.97 kB / 335.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.01466, allocations: 40.47 kB / 335.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01466, allocations: 0 / 335.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.03212, allocations: 4.422 MB / 339.5 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.806, allocations: 4 kB / 339.5 MB, free: 0.6055 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.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: 8.651657061651349]