Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",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.001056/0.001056, allocations: 182.2 kB / 17.02 MB, free: 5.121 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.408/1.408, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0009564/0.0009562, allocations: 92.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2653, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09701/0.3623, allocations: 78.39 MB / 454.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.3626, allocations: 71.97 kB / 454.4 MB, free: 2.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01977/0.3824, allocations: 6.369 MB / 460.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3825, allocations: 0 / 460.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.3826, allocations: 4 kB / 460.7 MB, free: 11.8 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001348/0.3839, allocations: 0.5495 MB / 461.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.384, allocations: 8.031 kB / 461.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.428e-05/0.3841, allocations: 42.55 kB / 461.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.3843, allocations: 31.73 kB / 461.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.3849, allocations: 267.8 kB / 461.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3849, allocations: 4 kB / 461.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.3849, allocations: 11.95 kB / 461.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3852, allocations: 105.6 kB / 461.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3852, allocations: 0 / 461.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3852, allocations: 0 / 461.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3852, allocations: 7.938 kB / 461.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.3854, allocations: 85.91 kB / 461.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.3863, allocations: 444.4 kB / 462.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3865, allocations: 138.4 kB / 462.4 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.3866, allocations: 0 / 462.4 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3868, allocations: 117.5 kB / 462.5 MB, free: 9.844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.3868, allocations: 0 / 462.5 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005732/0.3874, allocations: 330.6 kB / 462.8 MB, free: 9.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.3875, allocations: 59.39 kB / 462.9 MB, free: 9.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.3879, allocations: 222.9 kB / 463.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.3879, allocations: 41.69 kB / 463.2 MB, free: 9.156 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.701e-05/0.388, allocations: 112.1 kB / 463.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.3881, allocations: 39.59 kB / 463.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.3881, allocations: 8 kB / 463.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3882, allocations: 330.8 kB / 463.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3884, allocations: 79.94 kB / 463.7 MB, free: 8.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3886, allocations: 105.2 kB / 463.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.3888, allocations: 100.9 kB / 463.9 MB, free: 8.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3888, allocations: 3.938 kB / 463.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004278/0.3892, allocations: 254.1 kB / 464.2 MB, free: 8.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3892, allocations: 4 kB / 464.2 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3893, allocations: 4 kB / 464.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3893, allocations: 0 / 464.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3895, allocations: 35.91 kB / 464.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3895, allocations: 0 / 464.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.3897, allocations: 27.92 kB / 464.2 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3898, allocations: 11.98 kB / 464.3 MB, free: 8.039 MB / 346.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.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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.000146/0.3899, allocations: 145.7 kB / 464.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.39, allocations: 15.81 kB / 464.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.39, allocations: 17.53 kB / 464.4 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.39, allocations: 4 kB / 464.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3901, allocations: 4 kB / 464.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3901, allocations: 3.984 kB / 464.4 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.3903, allocations: 245.5 kB / 464.7 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3903, allocations: 7.891 kB / 464.7 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.3905, allocations: 12 kB / 464.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3905, allocations: 96 / 464.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.3905, allocations: 11.92 kB / 464.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3905, allocations: 0 / 464.7 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3905, allocations: 4 kB / 464.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.3911, allocations: 288.3 kB / 465 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3912, allocations: 108.9 kB / 465.1 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.3912, allocations: 11.98 kB / 465.1 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3914, allocations: 15.98 kB / 465.1 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3915, allocations: 12.05 kB / 465.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3915, allocations: 11.98 kB / 465.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003411/0.3919, allocations: 185.4 kB / 465.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3919, allocations: 0 / 465.3 MB, free: 6.871 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005737/0.3924, allocations: 115.8 kB / 465.5 MB, free: 6.758 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001697/0.3941, allocations: 1.031 MB / 466.5 MB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.3945, allocations: 198.5 kB / 466.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3946, allocations: 0 / 466.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3947, allocations: 71.95 kB / 466.7 MB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3949, allocations: 22.19 kB / 466.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3962, allocations: 0.8132 MB / 467.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3965, allocations: 0.7361 MB / 468.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.3966, allocations: 33.39 kB / 468.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.3967, allocations: 51.36 kB / 468.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3967, allocations: 192 / 468.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.4151, allocations: 4.944 MB / 473.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.4154, allocations: 235.6 kB / 473.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.095, allocations: 0 / 473.6 MB, free: 14.54 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat