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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 60.48 kB / 307.1 MB, free: 0.5547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09827, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004257/0.1026, allocations: 1.86 MB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1051, allocations: 1.302 MB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.1053, allocations: 4 kB / 360.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1055, allocations: 19.69 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1057, allocations: 31.7 kB / 360.8 MB, free: 10.78 MB / 302.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.001109/0.1068, allocations: 307.1 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.1071, allocations: 215.5 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1073, allocations: 72.23 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1074, allocations: 91.62 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006079/0.1081, allocations: 126.6 kB / 361.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.036e-05/0.1081, allocations: 20 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.1086, allocations: 279.6 kB / 361.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.1087, allocations: 63.7 kB / 361.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1088, allocations: 99.45 kB / 362 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005716/0.1094, allocations: 387.2 kB / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1094, allocations: 0 / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1094, allocations: 0 / 362.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.1095, allocations: 0 / 362.4 MB, free: 9.16 MB / 302.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.001216/0.1107, allocations: 0.5817 MB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1107, allocations: 8.031 kB / 363 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.732e-05/0.1108, allocations: 54.64 kB / 363.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1111, allocations: 36.64 kB / 363.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1113, allocations: 239.8 kB / 363.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.1114, allocations: 12.38 kB / 363.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.1114, allocations: 23.94 kB / 363.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.112, allocations: 210.4 kB / 363.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.112, allocations: 0 / 363.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.112, allocations: 8 kB / 363.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.112, allocations: 4 kB / 363.6 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.1125, allocations: 164 kB / 363.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1137, allocations: 0.5979 MB / 364.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.1148, allocations: 306.6 kB / 364.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1152, allocations: 104.8 kB / 364.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1152, allocations: 8 kB / 364.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.1156, allocations: 167.3 kB / 364.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.934e-06/0.1156, allocations: 0 / 364.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001113/0.1168, allocations: 357 kB / 365.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1168, allocations: 59.41 kB / 365.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.1171, allocations: 222.6 kB / 365.5 MB, free: 5.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.1171, allocations: 45.69 kB / 365.6 MB, free: 5.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.1172, allocations: 128.5 kB / 365.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.1173, allocations: 70.98 kB / 365.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1174, allocations: 69.69 kB / 365.9 MB, free: 5.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1175, allocations: 334.8 kB / 366.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.1179, allocations: 127.9 kB / 366.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.1183, allocations: 173.3 kB / 366.5 MB, free: 4.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.119, allocations: 271.2 kB / 366.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.119, allocations: 0 / 366.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009195/0.1199, allocations: 373.8 kB / 367.1 MB, free: 4.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.12, allocations: 4 kB / 367.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.12, allocations: 0 / 367.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.12, allocations: 4 kB / 367.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.1203, allocations: 63.89 kB / 367.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1204, allocations: 11.92 kB / 367.2 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1206, allocations: 35.73 kB / 367.2 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1206, allocations: 23.86 kB / 367.2 MB, free: 4.082 MB / 302.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.0001516/0.1208, allocations: 142.9 kB / 367.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1208, allocations: 19.75 kB / 367.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.1209, allocations: 21.86 kB / 367.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1209, allocations: 0 / 367.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1209, allocations: 4 kB / 367.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1209, allocations: 0 / 367.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.1221, allocations: 0.6264 MB / 368.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1221, allocations: 0 / 368.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1223, allocations: 47.89 kB / 368.1 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.1224, allocations: 4 kB / 368.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1224, allocations: 7.984 kB / 368.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1224, allocations: 0 / 368.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1224, allocations: 4 kB / 368.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.1235, allocations: 475 kB / 368.6 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.1236, allocations: 100.8 kB / 368.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.1237, allocations: 12.05 kB / 368.7 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1239, allocations: 19.98 kB / 368.7 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.1239, allocations: 15.97 kB / 368.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.124, allocations: 4 kB / 368.7 MB, free: 2.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1241, allocations: 152.7 kB / 368.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1241, allocations: 0 / 368.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004622/0.1246, allocations: 111.9 kB / 369 MB, free: 2.234 MB / 302.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.001891/0.1265, allocations: 1.172 MB / 370.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000851/0.1273, allocations: 299.5 kB / 370.5 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1273, allocations: 0 / 370.5 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.1277, allocations: 119.9 kB / 370.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1281, allocations: 23.94 kB / 370.6 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1647/0.2928, allocations: 2.802 MB / 373.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.2931, allocations: 0.7438 MB / 374.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.2933, allocations: 31.89 kB / 374.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.2934, allocations: 72.03 kB / 374.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2934, allocations: 0 / 374.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.3196, allocations: 5.957 MB / 380.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.627, allocations: 7.391 kB / 380.2 MB, free: 17.64 MB / 302.1 MB (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches