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.00165/0.00165, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008224, allocations: 86.66 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.195e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.4239, allocations: 78.89 MB / 449 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4241, allocations: 68.91 kB / 449.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01947/0.4436, allocations: 6.672 MB / 455.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4437, allocations: 0 / 455.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.4437, allocations: 4 kB / 455.7 MB, free: 8.617 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.001065/0.4448, allocations: 0.5474 MB / 456.3 MB, free: 8.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4448, allocations: 8.031 kB / 456.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.445, allocations: 57.83 kB / 456.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.4452, allocations: 31.7 kB / 456.4 MB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.4455, allocations: 246.5 kB / 456.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.4456, allocations: 15.64 kB / 456.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.4456, allocations: 23.69 kB / 456.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.446, allocations: 168.7 kB / 456.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.446, allocations: 0 / 456.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.446, allocations: 3.875 kB / 456.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.446, allocations: 4 kB / 456.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.4463, allocations: 102.7 kB / 456.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.4475, allocations: 0.5979 MB / 457.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.4482, allocations: 232.6 kB / 457.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4483, allocations: 83.95 kB / 457.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.4484, allocations: 11.88 kB / 457.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.4487, allocations: 129.7 kB / 458 MB, free: 6.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.467e-06/0.4487, allocations: 0 / 458 MB, free: 6.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.000476/0.4492, allocations: 203.9 kB / 458.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.4492, allocations: 59.59 kB / 458.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.4495, allocations: 192 kB / 458.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.4495, allocations: 33.58 kB / 458.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4496, allocations: 129.5 kB / 458.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.4497, allocations: 80.19 kB / 458.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.4497, allocations: 2.938 kB / 458.7 MB, free: 5.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4499, allocations: 332.4 kB / 459 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.4501, allocations: 100.6 kB / 459.1 MB, free: 5.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.4503, allocations: 123.7 kB / 459.2 MB, free: 5.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.4505, allocations: 98.7 kB / 459.3 MB, free: 5.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4505, allocations: 0 / 459.3 MB, free: 5.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005146/0.4511, allocations: 298.2 kB / 459.6 MB, free: 5.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4511, allocations: 8 kB / 459.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4511, allocations: 0 / 459.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.4511, allocations: 4 kB / 459.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.4514, allocations: 79.92 kB / 459.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4515, allocations: 0 / 459.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.4517, allocations: 55.66 kB / 459.7 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.4517, allocations: 11.98 kB / 459.8 MB, free: 4.949 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.0001302/0.4518, allocations: 125.3 kB / 459.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.4519, allocations: 23.7 kB / 459.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.487e-05/0.452, allocations: 21.64 kB / 459.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.452, allocations: 4 kB / 459.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.452, allocations: 0 / 459.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.452, allocations: 4 kB / 459.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.4529, allocations: 0.5801 MB / 460.5 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4529, allocations: 4 kB / 460.5 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.4532, allocations: 55.95 kB / 460.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4532, allocations: 0 / 460.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.4532, allocations: 8 kB / 460.6 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4532, allocations: 0 / 460.6 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4532, allocations: 0 / 460.6 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.4538, allocations: 388.4 kB / 461 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.4539, allocations: 104.9 kB / 461.1 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.454, allocations: 8 kB / 461.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.4542, allocations: 27.97 kB / 461.1 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.4542, allocations: 15.97 kB / 461.1 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.4543, allocations: 8 kB / 461.1 MB, free: 3.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4544, allocations: 151.2 kB / 461.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4545, allocations: 0 / 461.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005927/0.4551, allocations: 135.7 kB / 461.4 MB, free: 3.203 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.001671/0.4567, allocations: 1.129 MB / 462.5 MB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.4572, allocations: 242.1 kB / 462.8 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4572, allocations: 0 / 462.8 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.4574, allocations: 79.92 kB / 462.8 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.4576, allocations: 25.23 kB / 462.9 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.4586, allocations: 445.6 kB / 463.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4589, allocations: 0.7481 MB / 464.1 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.459, allocations: 30.08 kB / 464.1 MB, free: 444 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.4592, allocations: 75.33 kB / 464.2 MB, free: 368 kB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4592, allocations: 0 / 464.2 MB, free: 368 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.4786, allocations: 5.828 MB / 470 MB, free: 10.52 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.4788, allocations: 202.9 kB / 470.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.279, allocations: 0 / 470.2 MB, free: 10.3 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