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.002021/0.002022, allocations: 104 kB / 17.06 MB, free: 6.027 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.00297/0.00297, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.097/3.097, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.006191/0.006191, allocations: 47.94 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4715, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.006433/0.478, allocations: 1.846 MB / 402.1 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004738/0.4828, allocations: 1.239 MB / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.4831, allocations: 0 / 403.3 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.4833, allocations: 19.73 kB / 403.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.4836, allocations: 31.72 kB / 403.4 MB, free: 5.652 MB / 318.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.001626/0.4852, allocations: 319.1 kB / 403.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.4857, allocations: 211.5 kB / 403.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.486, allocations: 68.27 kB / 404 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.4862, allocations: 95.61 kB / 404.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.4871, allocations: 126.8 kB / 404.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.4872, allocations: 20 kB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.488, allocations: 275.5 kB / 404.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4881, allocations: 55.83 kB / 404.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.4883, allocations: 99.45 kB / 404.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.4901, allocations: 392.6 kB / 405 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.4901, allocations: 4 kB / 405 MB, free: 4.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4901, allocations: 0 / 405 MB, free: 4.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.4901, allocations: 0 / 405 MB, free: 4.02 MB / 318.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.002001/0.4922, allocations: 0.5623 MB / 405.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.53e-05/0.4922, allocations: 12.03 kB / 405.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.4924, allocations: 54.64 kB / 405.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.4929, allocations: 36.64 kB / 405.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.4933, allocations: 253.1 kB / 405.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.4934, allocations: 12 kB / 405.9 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.4935, allocations: 20 kB / 406 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/0.4943, allocations: 210.2 kB / 406.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4943, allocations: 0 / 406.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.4944, allocations: 8 kB / 406.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4944, allocations: 4 kB / 406.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007027/0.4951, allocations: 152.1 kB / 406.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.4968, allocations: 0.5786 MB / 406.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.4985, allocations: 313 kB / 407.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.499, allocations: 112.8 kB / 407.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.4991, allocations: 8 kB / 407.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006776/0.4998, allocations: 164.5 kB / 407.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 5.811e-06/0.4998, allocations: 4 kB / 407.5 MB, free: 1.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00158/0.5014, allocations: 359.4 kB / 407.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.5015, allocations: 55.41 kB / 407.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.5018, allocations: 215.6 kB / 408.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.5019, allocations: 41.69 kB / 408.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.502, allocations: 128.5 kB / 408.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.5022, allocations: 75.06 kB / 408.3 MB, free: 488 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.5023, allocations: 61.69 kB / 408.4 MB, free: 420 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.5025, allocations: 338.8 kB / 408.7 MB, free: 72 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.5031, allocations: 135.8 kB / 408.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.5037, allocations: 158 kB / 409 MB, free: 15.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.5047, allocations: 272.5 kB / 409.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5048, allocations: 0 / 409.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001586/0.5064, allocations: 373 kB / 409.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.5064, allocations: 8 kB / 409.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5064, allocations: 3.938 kB / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.5065, allocations: 0 / 409.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.5071, allocations: 67.89 kB / 409.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.5072, allocations: 11.97 kB / 409.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.5075, allocations: 39.72 kB / 409.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.5076, allocations: 19.98 kB / 409.8 MB, free: 14.99 MB / 334.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.0002978/0.5079, allocations: 133.8 kB / 409.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.508, allocations: 19.72 kB / 410 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.5081, allocations: 25.86 kB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5082, allocations: 8 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/0.5082, allocations: 3.938 kB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.5082, allocations: 0 / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.5104, allocations: 0.6308 MB / 410.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5104, allocations: 0 / 410.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/0.5109, allocations: 47.95 kB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.511, allocations: 0 / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.511, allocations: 0 / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.511, allocations: 4 kB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.511, allocations: 3.938 kB / 410.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.5136, allocations: 494.4 kB / 411.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5137, allocations: 96.77 kB / 411.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.5138, allocations: 12.05 kB / 411.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.5141, allocations: 19.98 kB / 411.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.5142, allocations: 15.97 kB / 411.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.5142, allocations: 4 kB / 411.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.5145, allocations: 147.2 kB / 411.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5145, allocations: 0 / 411.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009601/0.5155, allocations: 104 kB / 411.5 MB, free: 13.14 MB / 334.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.00323/0.5187, allocations: 1.193 MB / 412.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.5203, allocations: 284.9 kB / 413 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5203, allocations: 0 / 413 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.5209, allocations: 115.8 kB / 413.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006245/0.5216, allocations: 23.94 kB / 413.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.5286, allocations: 2.801 MB / 416 MB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.5291, allocations: 0.7398 MB / 416.7 MB, free: 7.883 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.5294, allocations: 33.94 kB / 416.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5296, allocations: 71.41 kB / 416.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of SimCode: time 4.478e-06/0.5296, allocations: 0 / 416.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1595/0.6891, allocations: 6.114 MB / 422.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.62/21.31, allocations: 12.28 kB / 422.9 MB, free: 1.762 MB / 334.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