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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008654, allocations: 99.31 kB / 16.94 MB, free: 5.984 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.0008833/0.0008834, allocations: 178.9 kB / 17.82 MB, free: 5.652 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.353/1.353, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004335/0.0004337, allocations: 11.28 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.08732, allocations: 47.58 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001841/0.08921, allocations: 1.346 MB / 329.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.09108, allocations: 1.163 MB / 330.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.09119, allocations: 8 kB / 330.9 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.0915, allocations: 19.84 kB / 331 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.0916, allocations: 43.88 kB / 331 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.09221, allocations: 223.4 kB / 331.2 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.09239, allocations: 99.8 kB / 331.3 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.09249, allocations: 25.28 kB / 331.3 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.09266, allocations: 83.73 kB / 331.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.09284, allocations: 83.7 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.09287, allocations: 4 kB / 331.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.09329, allocations: 283.6 kB / 331.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.09337, allocations: 39.88 kB / 331.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.09343, allocations: 53.58 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.09374, allocations: 235.5 kB / 332.1 MB, free: 304 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.09375, allocations: 0 / 332.1 MB, free: 304 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.09376, allocations: 3.984 kB / 332.1 MB, free: 300 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09377, allocations: 0 / 332.1 MB, free: 300 kB / 270.1 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.001105/0.09488, allocations: 0.5336 MB / 332.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.09492, allocations: 8.031 kB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.09497, allocations: 38.56 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.09516, allocations: 27.8 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.09562, allocations: 279.5 kB / 333 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.09565, allocations: 7.953 kB / 333 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.09568, allocations: 8 kB / 333 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.09588, allocations: 97.64 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.0959, allocations: 0 / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.09592, allocations: 7.984 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.09593, allocations: 0 / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.09611, allocations: 79.94 kB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.09692, allocations: 460.4 kB / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.09718, allocations: 126.5 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.0972, allocations: 0 / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.0974, allocations: 119.4 kB / 333.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.09742, allocations: 0 / 333.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005043/0.09793, allocations: 330.6 kB / 334.2 MB, free: 14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.09799, allocations: 63.38 kB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.09838, allocations: 243.8 kB / 334.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.09842, allocations: 37.7 kB / 334.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.09851, allocations: 120 kB / 334.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.09857, allocations: 51.53 kB / 334.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.09858, allocations: 0 / 334.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.09872, allocations: 334.8 kB / 335 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.09887, allocations: 83.95 kB / 335.1 MB, free: 13.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.09905, allocations: 105.8 kB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.09922, allocations: 108.3 kB / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.09923, allocations: 0 / 335.3 MB, free: 12.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004044/0.09964, allocations: 258.2 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.09967, allocations: 4 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.09968, allocations: 7.984 kB / 335.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.0997, allocations: 0 / 335.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.09989, allocations: 27.98 kB / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.0999, allocations: 4.031 kB / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1001, allocations: 35.81 kB / 335.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1001, allocations: 4 kB / 335.7 MB, free: 12.49 MB / 286.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,$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): 22 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001227/0.1003, allocations: 141.7 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1003, allocations: 15.81 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.1003, allocations: 21.52 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1004, allocations: 8 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1004, allocations: 0 / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1004, allocations: 0 / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.1006, allocations: 245.4 kB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1006, allocations: 4 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1008, allocations: 19.98 kB / 336.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1008, allocations: 0 / 336.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1008, allocations: 4 kB / 336.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1008, allocations: 3.938 kB / 336.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1008, allocations: 3.938 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.1013, allocations: 284.8 kB / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1014, allocations: 104.9 kB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1014, allocations: 8 kB / 336.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1016, allocations: 19.97 kB / 336.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.1016, allocations: 12.05 kB / 336.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1017, allocations: 4 kB / 336.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.102, allocations: 197.3 kB / 336.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.102, allocations: 192 / 336.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.1024, allocations: 91.98 kB / 336.8 MB, free: 11.23 MB / 286.1 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.001225/0.1036, allocations: 0.9922 MB / 337.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.104, allocations: 172.2 kB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.104, allocations: 0 / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1041, allocations: 68.02 kB / 338 MB, free: 9.988 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.1043, allocations: 19.78 kB / 338.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.1053, allocations: 0.8002 MB / 338.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1056, allocations: 0.7322 MB / 339.6 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.1057, allocations: 33.39 kB / 339.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.1058, allocations: 51.41 kB / 339.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1058, allocations: 0 / 339.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.1221, allocations: 4.785 MB / 344.5 MB, free: 3.484 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.1223, allocations: 238.4 kB / 344.7 MB, free: 3.242 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.824, allocations: 7.938 kB / 344.7 MB, free: 3.234 MB / 286.1 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) Environment - environmentSimulation: 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