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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 78.73 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.63e-05/1.641e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09165, allocations: 47.58 MB / 363.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4252, allocations: 78.48 MB / 441.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4255, allocations: 66.09 kB / 441.7 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02158/0.4471, allocations: 6.63 MB / 448.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4472, allocations: 0 / 448.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.4472, allocations: 4 kB / 448.3 MB, free: 11.24 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.001103/0.4483, allocations: 0.5493 MB / 448.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4484, allocations: 8.031 kB / 448.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.4486, allocations: 39.7 kB / 448.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.4489, allocations: 239.2 kB / 449.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.449, allocations: 15.95 kB / 449.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.449, allocations: 15.12 kB / 449.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000209/0.4492, allocations: 85.64 kB / 449.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.4495, allocations: 146.2 kB / 449.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4495, allocations: 7.938 kB / 449.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.4495, allocations: 0 / 449.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4495, allocations: 4 kB / 449.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.4505, allocations: 0.5388 MB / 450 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.4512, allocations: 221.7 kB / 450.2 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.4513, allocations: 73.3 kB / 450.3 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4513, allocations: 4.062 kB / 450.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.4516, allocations: 135.6 kB / 450.4 MB, free: 9.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.116e-06/0.4516, allocations: 3.984 kB / 450.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004096/0.452, allocations: 178.7 kB / 450.6 MB, free: 9.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.4521, allocations: 62.77 kB / 450.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4523, allocations: 167.3 kB / 450.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.4523, allocations: 29.7 kB / 450.8 MB, free: 8.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.4524, allocations: 138.5 kB / 451 MB, free: 8.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.4525, allocations: 73.44 kB / 451 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.4525, allocations: 4 kB / 451.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4527, allocations: 329.8 kB / 451.4 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4528, allocations: 81.73 kB / 451.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.453, allocations: 110.6 kB / 451.6 MB, free: 8.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.4532, allocations: 94.38 kB / 451.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4532, allocations: 0 / 451.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004752/0.4537, allocations: 272.5 kB / 451.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4538, allocations: 8.031 kB / 451.9 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.4538, allocations: 3.938 kB / 451.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4538, allocations: 7.953 kB / 451.9 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.4541, allocations: 75.25 kB / 452 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4541, allocations: 3.938 kB / 452 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.4543, allocations: 43.73 kB / 452.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.4543, allocations: 15.42 kB / 452.1 MB, free: 7.832 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 () * 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.0001174/0.4545, allocations: 112.9 kB / 452.2 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003012/0.4548, allocations: 187.9 kB / 452.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.4548, allocations: 27.7 kB / 452.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.4549, allocations: 20.89 kB / 452.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4549, allocations: 0 / 452.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4549, allocations: 0 / 452.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.4549, allocations: 4 kB / 452.4 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.4557, allocations: 0.5367 MB / 453 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4557, allocations: 4 kB / 453 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4559, allocations: 47.95 kB / 453 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4559, allocations: 0 / 453 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.456, allocations: 7.984 kB / 453 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.456, allocations: 0 / 453 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.456, allocations: 4 kB / 453 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.4565, allocations: 374.5 kB / 453.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.4566, allocations: 100.8 kB / 453.5 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.4566, allocations: 15.61 kB / 453.5 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4568, allocations: 31.97 kB / 453.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4569, allocations: 11.98 kB / 453.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.4569, allocations: 11.36 kB / 453.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.457, allocations: 125.4 kB / 453.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.457, allocations: 0 / 453.7 MB, free: 6.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005499/0.4576, allocations: 119.7 kB / 453.8 MB, free: 6.242 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]) * 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.001459/0.459, allocations: 1.106 MB / 454.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003713/0.4594, allocations: 226.6 kB / 455.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4594, allocations: 0 / 455.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4596, allocations: 75.86 kB / 455.2 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4598, allocations: 25.23 kB / 455.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.4606, allocations: 421.8 kB / 455.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.461, allocations: 0.7438 MB / 456.4 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.4612, allocations: 37.83 kB / 456.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.4613, allocations: 66.66 kB / 456.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4613, allocations: 0 / 456.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.486, allocations: 5.245 MB / 461.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.4863, allocations: 190.4 kB / 461.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.295, allocations: 0 / 461.9 MB, free: 14.26 MB / 346.7 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat does not exist to compare? outputFormat=mat