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.001878/0.001878, allocations: 114 kB / 20.44 MB, free: 1.469 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.002499/0.002499, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.558/1.558, allocations: 230.5 MB / 257.4 MB, free: 8 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.001897/0.001897, allocations: 59.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.353, allocations: 53.4 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003667/0.3566, allocations: 1.887 MB / 433.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.3593, allocations: 1.34 MB / 434.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3595, allocations: 0 / 434.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.3596, allocations: 19.73 kB / 434.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.3598, allocations: 31.67 kB / 434.5 MB, free: 3.371 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.001107/0.3609, allocations: 323.1 kB / 434.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.3612, allocations: 219.5 kB / 435 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.3614, allocations: 56.48 kB / 435.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3615, allocations: 107.6 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006837/0.3622, allocations: 128.8 kB / 435.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.3623, allocations: 24 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.3629, allocations: 319.5 kB / 435.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.363, allocations: 59.81 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3631, allocations: 103.4 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006467/0.3638, allocations: 391 kB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3638, allocations: 4 kB / 436.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3638, allocations: 0 / 436.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.3638, allocations: 4 kB / 436.2 MB, free: 1.676 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.001217/0.365, allocations: 0.5019 MB / 436.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.365, allocations: 8.031 kB / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.3651, allocations: 58.69 kB / 436.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.3654, allocations: 36.78 kB / 436.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3657, allocations: 182.2 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.3657, allocations: 16.38 kB / 437 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.3657, allocations: 24.33 kB / 437 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005403/0.3663, allocations: 207.3 kB / 437.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3663, allocations: 0 / 437.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3663, allocations: 15.98 kB / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3663, allocations: 0 / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.3668, allocations: 156.2 kB / 437.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3681, allocations: 0.5467 MB / 437.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.3691, allocations: 298.6 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.3694, allocations: 108.8 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3695, allocations: 7.938 kB / 438.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004276/0.3699, allocations: 166.8 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.3699, allocations: 0 / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001086/0.371, allocations: 353.3 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.3711, allocations: 59.39 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.3713, allocations: 226.7 kB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.3714, allocations: 37.64 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3715, allocations: 136.6 kB / 439.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.3716, allocations: 71.41 kB / 439.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3717, allocations: 73.64 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3719, allocations: 330.8 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.3722, allocations: 131.9 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3726, allocations: 165.6 kB / 440 MB, free: 13.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006667/0.3733, allocations: 279.1 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3733, allocations: 0 / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008575/0.3741, allocations: 382.6 kB / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3742, allocations: 4 kB / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3742, allocations: 3.984 kB / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3742, allocations: 0 / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.3745, allocations: 71.89 kB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3745, allocations: 0 / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3747, allocations: 39.81 kB / 440.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.3748, allocations: 12 kB / 440.8 MB, free: 12.84 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.0001975/0.375, allocations: 157.5 kB / 441 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.375, allocations: 19.86 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.3751, allocations: 21.95 kB / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3751, allocations: 0 / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3751, allocations: 4 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3751, allocations: 0 / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3763, allocations: 0.6026 MB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3763, allocations: 0 / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.3766, allocations: 47.89 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3766, allocations: 0 / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.3766, allocations: 8 kB / 441.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3766, allocations: 3.938 kB / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3766, allocations: 0 / 441.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3777, allocations: 482.8 kB / 442.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.3777, allocations: 27.78 kB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3777, allocations: 15.94 kB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3779, allocations: 19.97 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.378, allocations: 19.97 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.378, allocations: 4 kB / 442.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.3782, allocations: 152.7 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3782, allocations: 0 / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005281/0.3787, allocations: 103.8 kB / 442.5 MB, free: 11.09 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.002031/0.3807, allocations: 1.174 MB / 443.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008116/0.3816, allocations: 268.3 kB / 443.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3816, allocations: 0 / 443.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.3819, allocations: 114.7 kB / 444 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3822, allocations: 38.31 kB / 444.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.3869, allocations: 2.822 MB / 446.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3873, allocations: 0.7437 MB / 447.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.3874, allocations: 29.92 kB / 447.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3875, allocations: 71.41 kB / 447.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3876, allocations: 0 / 447.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.4268, allocations: 6.308 MB / 454 MB, free: 15.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.36, allocations: 10.97 kB / 454 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 648] (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: 18.023591208999278]