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.001287/0.001287, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 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.002343/0.002343, allocations: 217 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001506/0.001506, allocations: 47.94 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2505, allocations: 53.36 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002741/0.2532, allocations: 1.502 MB / 432.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2545, allocations: 0.6002 MB / 433.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.2545, allocations: 0 / 433.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.752e-05/0.2546, allocations: 11.81 kB / 433.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.2547, allocations: 19.86 kB / 433.3 MB, free: 4.695 MB / 334.1 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.0006499/0.2553, allocations: 151.5 kB / 433.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.2555, allocations: 111.7 kB / 433.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.2556, allocations: 9.312 kB / 433.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.2556, allocations: 47.84 kB / 433.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.2563, allocations: 76.14 kB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.2563, allocations: 12 kB / 433.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.2567, allocations: 151.7 kB / 433.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.2567, allocations: 27.91 kB / 433.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.2568, allocations: 59.61 kB / 433.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.2572, allocations: 195.7 kB / 434.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2572, allocations: 0 / 434.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2572, allocations: 0 / 434.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2572, allocations: 4 kB / 434.1 MB, free: 3.879 MB / 334.1 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.000678/0.2579, allocations: 385.4 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2579, allocations: 12.03 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/0.258, allocations: 38.73 kB / 434.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.2583, allocations: 44.81 kB / 434.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.2584, allocations: 147 kB / 434.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2584, allocations: 4.375 kB / 434.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.2585, allocations: 12.36 kB / 434.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.2587, allocations: 123.2 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2587, allocations: 0 / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2587, allocations: 3.984 kB / 434.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2587, allocations: 0 / 434.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.2589, allocations: 59.91 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.2596, allocations: 419.9 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.26, allocations: 125.2 kB / 435.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2601, allocations: 49.77 kB / 435.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2601, allocations: 4 kB / 435.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.2604, allocations: 144.1 kB / 435.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.2604, allocations: 4 kB / 435.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005488/0.2609, allocations: 230 kB / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.261, allocations: 97.03 kB / 436 MB, free: 1.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.2612, allocations: 178.2 kB / 436.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.2612, allocations: 45.69 kB / 436.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.2613, allocations: 108.5 kB / 436.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.2614, allocations: 43.62 kB / 436.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.2614, allocations: 61.92 kB / 436.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2616, allocations: 330.8 kB / 436.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.2618, allocations: 100.5 kB / 436.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.262, allocations: 128.4 kB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2624, allocations: 215.4 kB / 437.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2624, allocations: 0 / 437.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005356/0.2629, allocations: 289.4 kB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2629, allocations: 4 kB / 437.4 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2629, allocations: 7.984 kB / 437.4 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2629, allocations: 0 / 437.4 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.2631, allocations: 31.98 kB / 437.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2631, allocations: 0 / 437.5 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.2632, allocations: 27.81 kB / 437.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.2632, allocations: 12 kB / 437.5 MB, free: 224 kB / 334.1 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 0.0001547/0.2634, allocations: 145.9 kB / 437.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.2634, allocations: 11.91 kB / 437.7 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.2634, allocations: 21.34 kB / 437.7 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2634, allocations: 3.938 kB / 437.7 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.2634, allocations: 4 kB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2634, allocations: 3.938 kB / 437.7 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.2637, allocations: 180.6 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2637, allocations: 4 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.2637, allocations: 7.938 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2637, allocations: 0 / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2637, allocations: 7.984 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.2637, allocations: 4 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2637, allocations: 0 / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.2641, allocations: 225.7 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.2641, allocations: 11.91 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.2642, allocations: 12 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.2642, allocations: 11.92 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2643, allocations: 15.92 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.2643, allocations: 8 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.2644, allocations: 128.2 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2644, allocations: 0 / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.2647, allocations: 47.94 kB / 438.3 MB, free: 15.3 MB / 350.1 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.001186/0.2659, allocations: 0.9017 MB / 439.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.2663, allocations: 184 kB / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2663, allocations: 0 / 439.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.2665, allocations: 51.97 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.2666, allocations: 11.94 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.2693, allocations: 2.094 MB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.2696, allocations: 0.7156 MB / 442.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.2697, allocations: 20.95 kB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.2698, allocations: 43.42 kB / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2698, allocations: 0 / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.2998, allocations: 3.854 MB / 446.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.37, allocations: 10.83 kB / 446.2 MB, free: 7.438 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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: 13.896275144001265]