Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 102.6 kB / 16.92 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 191.3 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009801/0.0009801, allocations: 49.09 kB / 300.7 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09405, allocations: 49.43 MB / 350.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003199/0.09729, allocations: 1.849 MB / 352 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.09939, allocations: 1.243 MB / 353.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.09954, allocations: 0 / 353.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.09972, allocations: 19.73 kB / 353.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.09983, allocations: 27.73 kB / 353.3 MB, free: 1.188 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001063/0.1009, allocations: 319.1 kB / 353.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.1012, allocations: 219.5 kB / 353.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1014, allocations: 64.12 kB / 353.9 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1016, allocations: 95.62 kB / 354 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.1022, allocations: 119 kB / 354.1 MB, free: 400 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.747e-05/0.1023, allocations: 24 kB / 354.1 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.1028, allocations: 275.5 kB / 354.4 MB, free: 100 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.103, allocations: 59.77 kB / 354.4 MB, free: 40 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1031, allocations: 99.44 kB / 354.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007/0.1038, allocations: 387.2 kB / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1038, allocations: 0 / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1038, allocations: 0 / 354.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1039, allocations: 0 / 354.9 MB, free: 15.56 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.001223/0.1051, allocations: 0.5778 MB / 355.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1051, allocations: 8.031 kB / 355.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/0.1052, allocations: 46.73 kB / 355.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.1055, allocations: 36.64 kB / 355.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1058, allocations: 237.4 kB / 355.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.1058, allocations: 20 kB / 355.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1058, allocations: 19.91 kB / 355.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.1063, allocations: 214.2 kB / 356.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1063, allocations: 0 / 356.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.1064, allocations: 8 kB / 356.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1064, allocations: 0 / 356.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.1068, allocations: 160.2 kB / 356.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.108, allocations: 0.5863 MB / 356.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.109, allocations: 304.8 kB / 357.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.1093, allocations: 116.8 kB / 357.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1093, allocations: 4 kB / 357.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003896/0.1097, allocations: 170 kB / 357.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.1097, allocations: 0 / 357.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001026/0.1108, allocations: 353.1 kB / 357.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1108, allocations: 55.41 kB / 357.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1111, allocations: 207.9 kB / 358 MB, free: 12.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.1111, allocations: 45.69 kB / 358 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.1112, allocations: 128.6 kB / 358.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.1113, allocations: 74.91 kB / 358.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1114, allocations: 69.62 kB / 358.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1115, allocations: 342.7 kB / 358.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.1119, allocations: 131.9 kB / 358.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.1122, allocations: 157.6 kB / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.1129, allocations: 268.2 kB / 359.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1129, allocations: 0 / 359.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008047/0.1137, allocations: 384.8 kB / 359.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1137, allocations: 4 kB / 359.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1137, allocations: 0 / 359.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1138, allocations: 4 kB / 359.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1141, allocations: 67.88 kB / 359.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.1141, allocations: 3.938 kB / 359.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.1143, allocations: 47.67 kB / 359.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1143, allocations: 15.98 kB / 359.7 MB, free: 10.53 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.0001452/0.1144, allocations: 133.8 kB / 359.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1145, allocations: 15.81 kB / 359.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.1146, allocations: 25.86 kB / 359.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1146, allocations: 4 kB / 359.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1146, allocations: 7.938 kB / 359.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1146, allocations: 0 / 359.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.1157, allocations: 0.6385 MB / 360.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1158, allocations: 0 / 360.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.116, allocations: 43.95 kB / 360.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.116, allocations: 0 / 360.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.116, allocations: 11.98 kB / 360.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1161, allocations: 0 / 360.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1161, allocations: 3.938 kB / 360.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.117, allocations: 480.9 kB / 361.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1171, allocations: 108.9 kB / 361.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.1172, allocations: 4 kB / 361.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1173, allocations: 23.97 kB / 361.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1174, allocations: 7.984 kB / 361.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1174, allocations: 8 kB / 361.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1175, allocations: 155.2 kB / 361.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1175, allocations: 0 / 361.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.118, allocations: 107.8 kB / 361.5 MB, free: 8.676 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 (18): * Single equations (assignments): 16 * 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.001791/0.1198, allocations: 1.183 MB / 362.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000747/0.1205, allocations: 288.9 kB / 362.9 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1205, allocations: 4.062 kB / 362.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.1208, allocations: 111.9 kB / 363 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1212, allocations: 30.5 kB / 363.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.1252, allocations: 2.815 MB / 365.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1255, allocations: 0.7401 MB / 366.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1256, allocations: 29.94 kB / 366.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1257, allocations: 71.41 kB / 366.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1258, allocations: 0 / 366.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/0.3026, allocations: 5.935 MB / 372.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/8.905, allocations: 2.906 kB / 372.7 MB, free: 25.46 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/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_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches