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.001338/0.001338, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001606/0.001606, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.494/1.494, allocations: 230.4 MB / 254 MB, free: 15.01 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.002103/0.002103, allocations: 71.84 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1201, allocations: 53.38 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003802/0.1239, allocations: 1.873 MB / 428.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.126, allocations: 1.02 MB / 429.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.1262, allocations: 4 kB / 429.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.1263, allocations: 19.73 kB / 429.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1266, allocations: 39.66 kB / 429.3 MB, free: 1.633 MB / 350.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.0007281/0.1273, allocations: 187.5 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.1276, allocations: 219.5 kB / 429.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1278, allocations: 48.28 kB / 429.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.128, allocations: 107.5 kB / 429.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.1287, allocations: 126.5 kB / 430 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.1287, allocations: 20 kB / 430 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.129, allocations: 127.9 kB / 430.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1292, allocations: 67.7 kB / 430.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1293, allocations: 95.45 kB / 430.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.1298, allocations: 302.8 kB / 430.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1298, allocations: 0 / 430.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1298, allocations: 0 / 430.6 MB, free: 368 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1299, allocations: 0 / 430.6 MB, free: 368 kB / 350.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.2072/0.3371, allocations: 0.5613 MB / 431.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.659e-05/0.3371, allocations: 10 kB / 431.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.3372, allocations: 52.92 kB / 431.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.3375, allocations: 38.98 kB / 431.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.3378, allocations: 242.6 kB / 431.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.3379, allocations: 17.12 kB / 431.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.3379, allocations: 20.36 kB / 431.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.3386, allocations: 208.8 kB / 431.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3386, allocations: 4.734 kB / 431.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.3386, allocations: 4.625 kB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3386, allocations: 4.344 kB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.3392, allocations: 165.6 kB / 431.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3403, allocations: 0.5775 MB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3414, allocations: 293.9 kB / 432.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.3417, allocations: 112.8 kB / 432.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3417, allocations: 5.688 kB / 432.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.3421, allocations: 166.3 kB / 433.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.083e-06/0.3421, allocations: 0 / 433.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001019/0.3431, allocations: 352.8 kB / 433.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3432, allocations: 65.03 kB / 433.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3434, allocations: 222.4 kB / 433.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3434, allocations: 41.22 kB / 433.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.3435, allocations: 133.1 kB / 433.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.3435, allocations: 77.59 kB / 433.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/0.3436, allocations: 66.95 kB / 434 MB, free: 9.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.3437, allocations: 332.7 kB / 434.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.3441, allocations: 134.3 kB / 434.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.3444, allocations: 163.5 kB / 434.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.3451, allocations: 266.9 kB / 434.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3451, allocations: 3.938 kB / 434.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008776/0.346, allocations: 382.3 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.346, allocations: 5.609 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.346, allocations: 3.359 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.346, allocations: 1.219 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.3464, allocations: 67.42 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3464, allocations: 3.156 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.3465, allocations: 42.22 kB / 435.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.3466, allocations: 12.75 kB / 435.4 MB, free: 9.441 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.0001324/0.3467, allocations: 141.5 kB / 435.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3467, allocations: 21.91 kB / 435.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.3468, allocations: 25.95 kB / 435.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3468, allocations: 4.344 kB / 435.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3468, allocations: 4 kB / 435.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3468, allocations: 2.859 kB / 435.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3479, allocations: 0.627 MB / 436.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3479, allocations: 6.062 kB / 436.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.3482, allocations: 43.75 kB / 436.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3482, allocations: 1.406 kB / 436.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.3482, allocations: 7.531 kB / 436.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3482, allocations: 0.6562 kB / 436.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3482, allocations: 1.031 kB / 436.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3492, allocations: 483.3 kB / 436.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.3493, allocations: 99.84 kB / 436.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.3493, allocations: 16.05 kB / 436.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.3495, allocations: 21.88 kB / 436.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3496, allocations: 16.69 kB / 436.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3496, allocations: 5.641 kB / 436.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3497, allocations: 154.5 kB / 437 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3497, allocations: 1.156 kB / 437 MB, free: 8.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003834/0.3501, allocations: 66.27 kB / 437.1 MB, free: 8.398 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.0016/0.3517, allocations: 1.107 MB / 438.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008098/0.3525, allocations: 263.5 kB / 438.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3525, allocations: 1.281 kB / 438.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.3529, allocations: 109.5 kB / 438.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3532, allocations: 31.52 kB / 438.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3574, allocations: 2.817 MB / 441.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.3576, allocations: 0.7419 MB / 442.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.3577, allocations: 35.2 kB / 442.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.3579, allocations: 71.5 kB / 442.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3579, allocations: 0 / 442.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.3905, allocations: 5.322 MB / 447.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.709, allocations: 5.656 kB / 447.6 MB, free: 4.332 MB / 350.1 MB " [Timeout remaining time 651] (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: 14.025958272977732]