Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.00178/0.00178, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002662/0.002662, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.585/1.585, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 67.91 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.37, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003147/0.3732, allocations: 1.488 MB / 432.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3746, allocations: 0.5723 MB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.3746, allocations: 0 / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3747, allocations: 11.86 kB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.3748, allocations: 15.81 kB / 433.2 MB, free: 4.355 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006558/0.3755, allocations: 151.6 kB / 433.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3756, allocations: 115.6 kB / 433.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.242e-05/0.3757, allocations: 9.297 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.3758, allocations: 51.72 kB / 433.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006856/0.3765, allocations: 73.62 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3765, allocations: 12 kB / 433.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.3768, allocations: 147.7 kB / 433.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.3769, allocations: 31.91 kB / 433.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.3769, allocations: 43.72 kB / 433.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.3773, allocations: 193.2 kB / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3773, allocations: 0 / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3773, allocations: 0 / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3773, allocations: 0 / 434 MB, free: 3.547 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.0007118/0.378, allocations: 385.4 kB / 434.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3781, allocations: 15.98 kB / 434.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.3781, allocations: 46.67 kB / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.3785, allocations: 36.83 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.3786, allocations: 139.1 kB / 434.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3786, allocations: 8.375 kB / 434.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3787, allocations: 4.375 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.3789, allocations: 119.8 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3789, allocations: 7.875 kB / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.379, allocations: 0 / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.379, allocations: 0 / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.3791, allocations: 67.94 kB / 434.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.3799, allocations: 407.9 kB / 435.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.3802, allocations: 113.2 kB / 435.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.3803, allocations: 61.81 kB / 435.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3803, allocations: 0 / 435.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.3806, allocations: 141 kB / 435.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.083e-06/0.3806, allocations: 0 / 435.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000563/0.3812, allocations: 233.4 kB / 435.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.3813, allocations: 93.09 kB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3815, allocations: 178.2 kB / 436 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.3815, allocations: 45.69 kB / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3816, allocations: 108.6 kB / 436.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.3817, allocations: 47.62 kB / 436.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.3818, allocations: 57.92 kB / 436.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3819, allocations: 334.8 kB / 436.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3822, allocations: 100.4 kB / 436.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3824, allocations: 124.1 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.3827, allocations: 210.9 kB / 437.1 MB, free: 284 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3827, allocations: 0 / 437.1 MB, free: 284 kB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005134/0.3832, allocations: 297.4 kB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.3833, allocations: 4 kB / 437.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3833, allocations: 4 kB / 437.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.3833, allocations: 0 / 437.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.3834, allocations: 31.86 kB / 437.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3835, allocations: 0 / 437.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.3835, allocations: 27.89 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3836, allocations: 8 kB / 437.4 MB, free: 15.91 MB / 350.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.0001919/0.3837, allocations: 150.4 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3838, allocations: 11.91 kB / 437.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.3838, allocations: 21.39 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3838, allocations: 4 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3838, allocations: 0 / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3838, allocations: 0 / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3841, allocations: 176.6 kB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3841, allocations: 0 / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.3841, allocations: 8.078 kB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.3841, allocations: 7.984 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3842, allocations: 0 / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3842, allocations: 480 / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3842, allocations: 0 / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.3846, allocations: 233.6 kB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.3846, allocations: 15.91 kB / 438 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.3846, allocations: 15.98 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.3847, allocations: 4 kB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.3847, allocations: 15.97 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3847, allocations: 4 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3849, allocations: 128.2 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3849, allocations: 0 / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3852, allocations: 47.88 kB / 438.2 MB, free: 15 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.001407/0.3866, allocations: 0.9203 MB / 439.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.387, allocations: 180.1 kB / 439.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.387, allocations: 0 / 439.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3871, allocations: 47.92 kB / 439.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3873, allocations: 11.98 kB / 439.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.39, allocations: 2.099 MB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3901, allocations: 98.41 kB / 441.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.3902, allocations: 25.09 kB / 441.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.3903, allocations: 35.42 kB / 441.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3903, allocations: 4 kB / 441.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.4268, allocations: 4.26 MB / 445.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.23, allocations: 3.938 kB / 445.9 MB, free: 7.316 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.019757095724344]