Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001393/0.001393, allocations: 115.1 kB / 20.44 MB, free: 1.344 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.001576/0.001576, allocations: 204.9 kB / 23.72 MB, free: 4.535 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.545/1.545, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.91 kB / 377.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3767, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.00324/0.3799, allocations: 1.817 MB / 433 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3819, allocations: 0.9777 MB / 433.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.796e-05/0.382, allocations: 7.938 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.3821, allocations: 19.73 kB / 434 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.3823, allocations: 35.66 kB / 434 MB, free: 3.602 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.00057/0.3828, allocations: 191.5 kB / 434.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.3831, allocations: 223.4 kB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3832, allocations: 48.55 kB / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3834, allocations: 103.5 kB / 434.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.3839, allocations: 113.9 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.384, allocations: 23.94 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.3843, allocations: 147.8 kB / 434.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.3843, allocations: 67.69 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.431e-05/0.3844, allocations: 87.56 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.3849, allocations: 295.3 kB / 435.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3849, allocations: 0 / 435.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3849, allocations: 4 kB / 435.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3849, allocations: 0 / 435.3 MB, free: 2.332 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001086/0.386, allocations: 498.1 kB / 435.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.386, allocations: 15.98 kB / 435.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.082e-05/0.3861, allocations: 54.69 kB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.3863, allocations: 36.78 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3865, allocations: 178.2 kB / 436 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3866, allocations: 16.38 kB / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.3866, allocations: 28.31 kB / 436.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.3871, allocations: 207.4 kB / 436.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3871, allocations: 7.938 kB / 436.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.3871, allocations: 4 kB / 436.3 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3871, allocations: 4 kB / 436.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.3876, allocations: 156.2 kB / 436.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3886, allocations: 0.5038 MB / 437 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3897, allocations: 298.6 kB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.39, allocations: 104.8 kB / 437.4 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.39, allocations: 8 kB / 437.4 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004204/0.3904, allocations: 166.7 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.863e-06/0.3904, allocations: 3.938 kB / 437.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001006/0.3914, allocations: 357.2 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.3915, allocations: 59.41 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.3917, allocations: 226.6 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.3918, allocations: 41.69 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3919, allocations: 136.6 kB / 438.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.3919, allocations: 67.42 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.392, allocations: 69.64 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3922, allocations: 334.8 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.3925, allocations: 135.9 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.3929, allocations: 161.6 kB / 439.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.3936, allocations: 275.1 kB / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3936, allocations: 0 / 439.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008341/0.3944, allocations: 382.6 kB / 439.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3945, allocations: 4 kB / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3945, allocations: 0 / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3945, allocations: 4 kB / 439.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.3948, allocations: 71.88 kB / 439.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3948, allocations: 4 kB / 439.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.395, allocations: 43.81 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.395, allocations: 4 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001591/0.3952, allocations: 154.4 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.3952, allocations: 19.86 kB / 440 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.3953, allocations: 17.97 kB / 440 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3953, allocations: 7.984 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3953, allocations: 3.938 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3953, allocations: 4 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3964, allocations: 0.5675 MB / 440.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3964, allocations: 3.984 kB / 440.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.3966, allocations: 51.91 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3966, allocations: 0 / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3966, allocations: 7.984 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3966, allocations: 4 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3966, allocations: 0 / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.3977, allocations: 482.5 kB / 441.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.3977, allocations: 19.8 kB / 441.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.3978, allocations: 12 kB / 441.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.398, allocations: 19.97 kB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.398, allocations: 23.91 kB / 441.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.398, allocations: 4 kB / 441.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.3982, allocations: 160.9 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3982, allocations: 0 / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.3985, allocations: 59.94 kB / 441.5 MB, free: 11.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001747/0.4003, allocations: 1.118 MB / 442.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.4011, allocations: 260.3 kB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4011, allocations: 0 / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.4014, allocations: 122.3 kB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.4017, allocations: 19.95 kB / 443 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.406, allocations: 2.817 MB / 445.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.4062, allocations: 133.2 kB / 445.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.4063, allocations: 21.95 kB / 445.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.4064, allocations: 71.41 kB / 446 MB, free: 7.223 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4064, allocations: 4 kB / 446 MB, free: 7.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.4455, allocations: 5.998 MB / 452 MB, free: 1.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.37, allocations: 14.81 kB / 452 MB, free: 1.324 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable mean.y in file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable mean.y from file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.0271926689893]