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.001806/0.001806, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002279/0.002279, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001802/0.001802, allocations: 55.91 kB / 377.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2873, allocations: 53.36 MB / 431.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003236/0.2905, allocations: 1.477 MB / 432.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2919, allocations: 0.5767 MB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.292, allocations: 0 / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.2921, allocations: 7.875 kB / 433.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.2922, allocations: 23.8 kB / 433.2 MB, free: 4.594 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.000748/0.2929, allocations: 155.6 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.2931, allocations: 111.7 kB / 433.4 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.2931, allocations: 5.312 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.2932, allocations: 51.72 kB / 433.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000635/0.2938, allocations: 73.22 kB / 433.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.2939, allocations: 11.94 kB / 433.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.2942, allocations: 147.7 kB / 433.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.2943, allocations: 27.91 kB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.2943, allocations: 39.73 kB / 433.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.2947, allocations: 205.2 kB / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2947, allocations: 0 / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2947, allocations: 0 / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2947, allocations: 0 / 434 MB, free: 3.785 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.0008357/0.2956, allocations: 385.4 kB / 434.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.2956, allocations: 12.03 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.2957, allocations: 34.75 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.296, allocations: 44.75 kB / 434.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.2962, allocations: 139.1 kB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2962, allocations: 8.375 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.2963, allocations: 16.34 kB / 434.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2965, allocations: 122.3 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2965, allocations: 7.922 kB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2966, allocations: 0 / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2966, allocations: 0 / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.2968, allocations: 55.97 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.2975, allocations: 411.9 kB / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.2979, allocations: 117.2 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.298, allocations: 53.77 kB / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.298, allocations: 0 / 435.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/0.2983, allocations: 145 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.2983, allocations: 4 kB / 435.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005731/0.2989, allocations: 237.5 kB / 435.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.2989, allocations: 89.09 kB / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2991, allocations: 174.2 kB / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.2992, allocations: 45.7 kB / 436 MB, free: 1.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.2993, allocations: 108.5 kB / 436.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/0.2993, allocations: 47.62 kB / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2994, allocations: 53.92 kB / 436.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2996, allocations: 334.8 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.2998, allocations: 100.5 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.3001, allocations: 124.4 kB / 436.8 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3004, allocations: 211.4 kB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3005, allocations: 0 / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005131/0.301, allocations: 297.4 kB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.301, allocations: 4 kB / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.301, allocations: 0 / 437.3 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.301, allocations: 4 kB / 437.3 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3012, allocations: 35.86 kB / 437.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3012, allocations: 0 / 437.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.3013, allocations: 31.75 kB / 437.4 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.3013, allocations: 4 kB / 437.4 MB, free: 156 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.0001868/0.3015, allocations: 157.8 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.3015, allocations: 15.98 kB / 437.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.3015, allocations: 13.41 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3015, allocations: 0 / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3015, allocations: 7.938 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3015, allocations: 3.938 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3018, allocations: 160.7 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3018, allocations: 4 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.3018, allocations: 4 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3018, allocations: 3.984 kB / 437.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3018, allocations: 12 kB / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3018, allocations: 0 / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3018, allocations: 0 / 437.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.3022, allocations: 225.6 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.3023, allocations: 11.91 kB / 438 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.3023, allocations: 12 kB / 438 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.3024, allocations: 7.984 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.3024, allocations: 15.92 kB / 438 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3024, allocations: 4 kB / 438 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3025, allocations: 132.2 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3025, allocations: 0 / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3028, allocations: 47.94 kB / 438.2 MB, free: 15.25 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.001396/0.3042, allocations: 0.9281 MB / 439.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004756/0.3047, allocations: 171.8 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3047, allocations: 0 / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3049, allocations: 55.91 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.3051, allocations: 16.06 kB / 439.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.308, allocations: 2.088 MB / 441.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.3081, allocations: 98.27 kB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.249e-05/0.3082, allocations: 20.97 kB / 441.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3082, allocations: 39.42 kB / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3082, allocations: 0 / 441.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.342, allocations: 4.264 MB / 445.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.99, allocations: 16.17 kB / 445.9 MB, free: 7.598 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.569671449717134]