Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.002193/0.002193, allocations: 131.4 kB / 17.79 MB, free: 5.242 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.003221/0.003221, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.549/1.549, allocations: 230.4 MB / 254 MB, free: 15.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.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.91 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 53.36 MB / 426.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003423/0.1172, allocations: 1.879 MB / 428.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.1195, allocations: 1.313 MB / 429.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.374e-05/0.1196, allocations: 7.938 kB / 429.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.1197, allocations: 19.73 kB / 429.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.1199, allocations: 31.73 kB / 429.6 MB, free: 1.332 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.0008579/0.1207, allocations: 307.1 kB / 429.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.121, allocations: 215.5 kB / 430.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1212, allocations: 52.27 kB / 430.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1213, allocations: 111.5 kB / 430.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005343/0.1218, allocations: 125.2 kB / 430.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.1219, allocations: 20 kB / 430.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.1223, allocations: 291.5 kB / 430.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.1224, allocations: 55.77 kB / 430.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1225, allocations: 107.4 kB / 430.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2122/0.3347, allocations: 379.3 kB / 431.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3347, allocations: 0 / 431.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3347, allocations: 0.5 kB / 431.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3347, allocations: 4.031 kB / 431.2 MB, free: 7.93 MB / 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.001089/0.3358, allocations: 0.5872 MB / 431.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3358, allocations: 10.38 kB / 431.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.3359, allocations: 56.89 kB / 431.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.3361, allocations: 35.56 kB / 431.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.3363, allocations: 243.5 kB / 432.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.3364, allocations: 15.66 kB / 432.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.3364, allocations: 19.34 kB / 432.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.3369, allocations: 212.7 kB / 432.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3369, allocations: 0 / 432.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.337, allocations: 11.17 kB / 432.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.337, allocations: 3.969 kB / 432.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.3375, allocations: 158 kB / 432.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.3384, allocations: 0.5828 MB / 433.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3394, allocations: 297.9 kB / 433.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.3397, allocations: 112.6 kB / 433.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3398, allocations: 1.344 kB / 433.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/0.3401, allocations: 167.2 kB / 433.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.3401, allocations: 0 / 433.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001042/0.3412, allocations: 354.9 kB / 434.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3412, allocations: 63.2 kB / 434.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.3414, allocations: 222.4 kB / 434.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.3414, allocations: 40.08 kB / 434.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.3415, allocations: 132.4 kB / 434.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.3416, allocations: 75.11 kB / 434.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3417, allocations: 69.5 kB / 434.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.3417, allocations: 333.1 kB / 435 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.3421, allocations: 132.1 kB / 435.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.3425, allocations: 167.8 kB / 435.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.3431, allocations: 271.6 kB / 435.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3431, allocations: 0.75 kB / 435.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008275/0.344, allocations: 372.3 kB / 435.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.344, allocations: 5.562 kB / 435.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.344, allocations: 6.266 kB / 435.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.344, allocations: 2.125 kB / 435.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3443, allocations: 70.05 kB / 436 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3443, allocations: 2.188 kB / 436 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3445, allocations: 43.94 kB / 436 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.3445, allocations: 11.2 kB / 436.1 MB, free: 5.949 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.000123/0.3447, allocations: 154.9 kB / 436.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3447, allocations: 20.14 kB / 436.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.134e-05/0.3448, allocations: 25.31 kB / 436.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3448, allocations: 2.703 kB / 436.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3448, allocations: 0 / 436.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3448, allocations: 2.422 kB / 436.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.3458, allocations: 0.6267 MB / 436.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3458, allocations: 2.203 kB / 436.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3461, allocations: 45.8 kB / 436.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3461, allocations: 1.219 kB / 436.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.3461, allocations: 8.719 kB / 436.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3461, allocations: 1.188 kB / 436.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3461, allocations: 0 / 436.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.3471, allocations: 483.6 kB / 437.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3472, allocations: 100.2 kB / 437.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.3472, allocations: 15.38 kB / 437.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3474, allocations: 22.08 kB / 437.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3475, allocations: 11.28 kB / 437.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3475, allocations: 13.75 kB / 437.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3476, allocations: 154.6 kB / 437.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3476, allocations: 0 / 437.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005144/0.3481, allocations: 100.1 kB / 437.8 MB, free: 5.133 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.001815/0.3499, allocations: 1.167 MB / 439 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.351, allocations: 273.9 kB / 439.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.351, allocations: 0 / 439.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000501/0.3515, allocations: 106.5 kB / 439.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.352, allocations: 43.94 kB / 439.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/0.3587, allocations: 2.826 MB / 442.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.359, allocations: 0.7371 MB / 443 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.3592, allocations: 32.05 kB / 443 MB, free: 2.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.3594, allocations: 67.95 kB / 443.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3594, allocations: 0 / 443.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/0.4024, allocations: 6.075 MB / 449.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/8.948, allocations: 3.156 kB / 449.1 MB, free: 1.32 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_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_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable mean.y in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable mean.y from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.488715340034105]