Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.303/2.303, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005522/0.0005521, allocations: 8 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3349, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.4754, allocations: 74.73 MB / 383.3 MB, free: 1.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.4758, allocations: 79.95 kB / 383.4 MB, free: 1.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03262/0.5085, allocations: 6.645 MB / 390 MB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.5085, allocations: 0 / 390 MB, free: 11.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.5086, allocations: 7.938 kB / 390 MB, free: 11.09 MB / 330.7 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.001462/0.51, allocations: 0.5714 MB / 390.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5101, allocations: 12.03 kB / 390.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.5102, allocations: 46.55 kB / 390.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.5105, allocations: 39.7 kB / 390.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.5109, allocations: 239.5 kB / 390.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.511, allocations: 16 kB / 390.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.511, allocations: 24 kB / 391 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.5119, allocations: 214.5 kB / 391.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5119, allocations: 0 / 391.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.5119, allocations: 4 kB / 391.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.512, allocations: 4 kB / 391.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000845/0.5128, allocations: 180.1 kB / 391.4 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.5145, allocations: 0.6136 MB / 392 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.5165, allocations: 373.3 kB / 392.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.5166, allocations: 0 / 392.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007339/0.5173, allocations: 195.9 kB / 392.5 MB, free: 8.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.414e-06/0.5174, allocations: 3.938 kB / 392.5 MB, free: 8.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.002415/0.5198, allocations: 488.6 kB / 393 MB, free: 7.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.5199, allocations: 55.78 kB / 393.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.5205, allocations: 198.8 kB / 393.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.5206, allocations: 33.7 kB / 393.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5208, allocations: 140.6 kB / 393.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.521, allocations: 74.94 kB / 393.5 MB, free: 7.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.5211, allocations: 4 kB / 393.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.5213, allocations: 334.8 kB / 393.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.5224, allocations: 139.9 kB / 394 MB, free: 6.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.5237, allocations: 177.6 kB / 394.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.5251, allocations: 153.2 kB / 394.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.5251, allocations: 0 / 394.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002879/0.528, allocations: 410.1 kB / 394.7 MB, free: 6.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.5281, allocations: 4 kB / 394.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.5282, allocations: 0 / 394.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.5282, allocations: 4 kB / 394.7 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/0.5292, allocations: 79.89 kB / 394.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.5292, allocations: 0 / 394.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.5297, allocations: 51.72 kB / 394.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5298, allocations: 11.98 kB / 394.8 MB, free: 6.023 MB / 330.7 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.5303, allocations: 145.7 kB / 395 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.5304, allocations: 19.72 kB / 395 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.5306, allocations: 29.8 kB / 395 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.5307, allocations: 4 kB / 395 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5307, allocations: 0 / 395 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5307, allocations: 4 kB / 395 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.5337, allocations: 0.6855 MB / 395.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.5338, allocations: 3.984 kB / 395.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.5343, allocations: 55.91 kB / 395.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.5343, allocations: 0 / 395.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.5344, allocations: 11.98 kB / 395.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5344, allocations: 0 / 395.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5344, allocations: 0 / 395.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.5364, allocations: 0.5408 MB / 396.3 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.5366, allocations: 100.8 kB / 396.4 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.5367, allocations: 12.05 kB / 396.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.537, allocations: 19.98 kB / 396.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.5371, allocations: 23.97 kB / 396.5 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.5371, allocations: 4 kB / 396.5 MB, free: 4.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.5374, allocations: 147.2 kB / 396.6 MB, free: 4.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5374, allocations: 0 / 396.6 MB, free: 4.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008102/0.5382, allocations: 135.8 kB / 396.8 MB, free: 3.992 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003522/0.5417, allocations: 1.298 MB / 398.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.5433, allocations: 349.3 kB / 398.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5433, allocations: 0 / 398.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.544, allocations: 135.9 kB / 398.5 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.5444, allocations: 19.98 kB / 398.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.5466, allocations: 0.9785 MB / 399.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.5471, allocations: 0.744 MB / 400.3 MB, free: 404 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.5473, allocations: 33.94 kB / 400.3 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.5476, allocations: 71.34 kB / 400.4 MB, free: 300 kB / 330.7 MB Notification: Performance of SimCode: time 1.824e-06/0.5476, allocations: 0 / 400.4 MB, free: 300 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03258/0.5802, allocations: 5.763 MB / 406.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.5805, allocations: 226.3 kB / 406.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.565, allocations: 3.938 kB / 406.4 MB, free: 10.29 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat