Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001369/0.001369, allocations: 113.4 kB / 17.72 MB, free: 5.445 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.001428/0.001428, allocations: 184.1 kB / 18.65 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 51.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09878, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003074/0.1019, allocations: 1.836 MB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1041, allocations: 1.267 MB / 377.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.1042, allocations: 4 kB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.1044, allocations: 19.75 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.1045, allocations: 27.72 kB / 377.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008721/0.1053, allocations: 315.1 kB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.1056, allocations: 223.4 kB / 378.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1058, allocations: 68.25 kB / 378.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1059, allocations: 99.61 kB / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1061, allocations: 111.5 kB / 378.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.1061, allocations: 20 kB / 378.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/0.1066, allocations: 291.5 kB / 378.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.1067, allocations: 63.75 kB / 379 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1068, allocations: 103.5 kB / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.1073, allocations: 402.6 kB / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1074, allocations: 0 / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1074, allocations: 0 / 379.5 MB, free: 228 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1074, allocations: 0 / 379.5 MB, free: 228 kB / 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.1816/0.289, allocations: 0.5782 MB / 380 MB, free: 12.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2891, allocations: 9.625 kB / 380.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.211e-05/0.2892, allocations: 54.27 kB / 380.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.2894, allocations: 40.69 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.2896, allocations: 238.2 kB / 380.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2897, allocations: 17.88 kB / 380.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.2897, allocations: 21.7 kB / 380.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.2902, allocations: 204.7 kB / 380.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2902, allocations: 3.938 kB / 380.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2902, allocations: 5.906 kB / 380.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2902, allocations: 3.469 kB / 380.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.2907, allocations: 156.3 kB / 380.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.2916, allocations: 0.5738 MB / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2926, allocations: 305.4 kB / 381.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.2929, allocations: 120.7 kB / 381.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.293, allocations: 3.5 kB / 381.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/0.2934, allocations: 169.2 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.744e-06/0.2934, allocations: 0.5312 kB / 381.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001038/0.2945, allocations: 351.4 kB / 382.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2945, allocations: 61.55 kB / 382.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.2947, allocations: 215.2 kB / 382.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.2948, allocations: 40.52 kB / 382.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.2949, allocations: 131.2 kB / 382.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.2949, allocations: 81.2 kB / 382.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.295, allocations: 67.02 kB / 382.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/0.2951, allocations: 335.5 kB / 383.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.2954, allocations: 130.5 kB / 383.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.2958, allocations: 168.6 kB / 383.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.2964, allocations: 272.7 kB / 383.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2964, allocations: 2.812 kB / 383.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007825/0.2972, allocations: 374.1 kB / 384.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2972, allocations: 5.656 kB / 384.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2972, allocations: 6.094 kB / 384.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2973, allocations: 2.062 kB / 384.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.2976, allocations: 70.47 kB / 384.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2976, allocations: 2.312 kB / 384.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.2977, allocations: 45.62 kB / 384.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.2978, allocations: 11.61 kB / 384.3 MB, free: 11.03 MB / 318.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.0001154/0.2979, allocations: 154.3 kB / 384.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.2979, allocations: 16.34 kB / 384.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.298, allocations: 19.88 kB / 384.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.298, allocations: 2.188 kB / 384.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.298, allocations: 1.156 kB / 384.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.298, allocations: 2.719 kB / 384.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.2991, allocations: 0.6484 MB / 385.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2991, allocations: 0 / 385.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.2993, allocations: 45.42 kB / 385.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.2993, allocations: 3.172 kB / 385.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.2994, allocations: 12.8 kB / 385.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2994, allocations: 1.156 kB / 385.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2994, allocations: 1.188 kB / 385.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.3003, allocations: 486.4 kB / 385.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.3003, allocations: 98.12 kB / 385.7 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.3004, allocations: 13.16 kB / 385.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3006, allocations: 16.86 kB / 385.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.3006, allocations: 19.52 kB / 385.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3007, allocations: 7.906 kB / 385.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3008, allocations: 149.3 kB / 385.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3008, allocations: 1.344 kB / 385.9 MB, free: 9.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.3012, allocations: 106.9 kB / 386 MB, free: 9.961 MB / 318.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.001725/0.303, allocations: 1.199 MB / 387.2 MB, free: 9.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007489/0.3037, allocations: 286.9 kB / 387.5 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3037, allocations: 0.5469 kB / 387.5 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.304, allocations: 122.4 kB / 387.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3044, allocations: 30.97 kB / 387.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.308, allocations: 2.824 MB / 390.5 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3082, allocations: 0.7394 MB / 391.2 MB, free: 6.547 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.3083, allocations: 32.27 kB / 391.3 MB, free: 6.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.3084, allocations: 68.78 kB / 391.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3084, allocations: 0 / 391.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.3405, allocations: 6.203 MB / 397.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.51, allocations: 5.312 kB / 397.5 MB, free: 4.887 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches