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.001907/0.001907, allocations: 114 kB / 20.43 MB, free: 1.457 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.00239/0.00239, allocations: 215.3 kB / 23.74 MB, free: 4.672 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.002079/0.002079, allocations: 63.89 kB / 377.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3056, allocations: 53.41 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004805/0.3104, allocations: 1.891 MB / 433.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.3133, allocations: 1.044 MB / 434.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.3135, allocations: 4 kB / 434.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.3137, allocations: 23.73 kB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.3139, allocations: 31.67 kB / 434.2 MB, free: 3.711 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.0009582/0.3149, allocations: 191.5 kB / 434.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.3153, allocations: 219.5 kB / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.3155, allocations: 56.55 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.3157, allocations: 99.62 kB / 434.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008622/0.3166, allocations: 133 kB / 434.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.3167, allocations: 20 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.3171, allocations: 159.7 kB / 435 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3173, allocations: 59.83 kB / 435.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.3174, allocations: 99.44 kB / 435.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.3181, allocations: 291.3 kB / 435.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3181, allocations: 0 / 435.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3181, allocations: 0 / 435.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3181, allocations: 0 / 435.5 MB, free: 2.418 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.001712/0.3198, allocations: 0.4943 MB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.678e-05/0.3199, allocations: 8.031 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.3201, allocations: 58.69 kB / 436 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.3204, allocations: 36.78 kB / 436.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.3208, allocations: 182.2 kB / 436.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.3209, allocations: 16.38 kB / 436.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.321, allocations: 24.33 kB / 436.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/0.3217, allocations: 211.3 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.3217, allocations: 0 / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.3218, allocations: 12 kB / 436.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3218, allocations: 8 kB / 436.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007206/0.3225, allocations: 152.2 kB / 436.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3242, allocations: 0.5505 MB / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.3257, allocations: 294.7 kB / 437.5 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.3262, allocations: 108.8 kB / 437.6 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.3262, allocations: 4 kB / 437.6 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006184/0.3268, allocations: 174.6 kB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.736e-06/0.3268, allocations: 0 / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001521/0.3284, allocations: 349.3 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.3285, allocations: 67.39 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.3288, allocations: 226.7 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.3289, allocations: 41.69 kB / 438.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.329, allocations: 124.6 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3291, allocations: 75.42 kB / 438.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3293, allocations: 73.62 kB / 438.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3295, allocations: 334.8 kB / 439.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.33, allocations: 135.8 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.3306, allocations: 161.6 kB / 439.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/0.3315, allocations: 271.2 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3315, allocations: 0 / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001302/0.3328, allocations: 382.6 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.3329, allocations: 11.94 kB / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3329, allocations: 3.938 kB / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3329, allocations: 0 / 440 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.3334, allocations: 75.88 kB / 440.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3334, allocations: 0 / 440.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.3337, allocations: 43.81 kB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.3337, allocations: 8 kB / 440.1 MB, free: 13.57 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.0002577/0.334, allocations: 149.6 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.334, allocations: 19.86 kB / 440.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.3341, allocations: 17.97 kB / 440.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3341, allocations: 4 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3341, allocations: 0 / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3341, allocations: 7.984 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3358, allocations: 0.5947 MB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3358, allocations: 4 kB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.3362, allocations: 43.95 kB / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3362, allocations: 0 / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.3363, allocations: 11.98 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3363, allocations: 0 / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3363, allocations: 0 / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.3379, allocations: 486.7 kB / 441.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.3379, allocations: 19.8 kB / 441.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.338, allocations: 12 kB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.3383, allocations: 27.97 kB / 441.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.3384, allocations: 15.97 kB / 441.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.3384, allocations: 4 kB / 441.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.3387, allocations: 160.7 kB / 441.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3387, allocations: 0 / 441.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006937/0.3393, allocations: 59.94 kB / 441.7 MB, free: 11.88 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.002631/0.342, allocations: 1.116 MB / 442.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3432, allocations: 268.3 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3432, allocations: 0 / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.3436, allocations: 111.9 kB / 443.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005404/0.3442, allocations: 33.78 kB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006603/0.3508, allocations: 2.805 MB / 446.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.3513, allocations: 0.7398 MB / 446.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.3515, allocations: 29.94 kB / 446.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3517, allocations: 71.34 kB / 446.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3517, allocations: 4 kB / 446.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.392, allocations: 5.539 MB / 452.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.48, allocations: 9.469 kB / 452.5 MB, free: 1.168 MB / 350.1 MB " [Timeout remaining time 647] (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.96647483000197]