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: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 108.4 kB / 18.34 MB, free: 4.832 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.001245/0.001245, allocations: 190.9 kB / 19.28 MB, free: 3.898 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.428/1.428, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001267/0.001267, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08871/0.08999, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002919/0.09295, allocations: 1.648 MB / 330.4 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.09502, allocations: 1.221 MB / 331.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.09511, allocations: 3.938 kB / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.09546, allocations: 39.78 kB / 331.6 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.0956, allocations: 35.77 kB / 331.7 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.09632, allocations: 295.1 kB / 331.9 MB, free: 496 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.09656, allocations: 175.6 kB / 332.1 MB, free: 320 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.09668, allocations: 25.06 kB / 332.1 MB, free: 296 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.09683, allocations: 91.67 kB / 332.2 MB, free: 204 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.09701, allocations: 99.58 kB / 332.3 MB, free: 104 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.09705, allocations: 12 kB / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.09749, allocations: 279.5 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.09759, allocations: 47.89 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.09769, allocations: 79.45 kB / 332.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.09813, allocations: 339.1 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.09815, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09816, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.09817, allocations: 0 / 333.1 MB, free: 15.36 MB / 286.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.001147/0.09932, allocations: 0.5571 MB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.09937, allocations: 15.89 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.09959, allocations: 28.73 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.1, allocations: 276.8 kB / 333.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1001, allocations: 4.375 kB / 333.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1001, allocations: 8.375 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1003, allocations: 110.9 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1003, allocations: 7.906 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1003, allocations: 7.984 kB / 334.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1004, allocations: 4 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1005, allocations: 75.94 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.1013, allocations: 444.6 kB / 334.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.1016, allocations: 126.5 kB / 334.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1017, allocations: 56.83 kB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1017, allocations: 4 kB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.1019, allocations: 115.4 kB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.102, allocations: 0 / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004738/0.1024, allocations: 237.4 kB / 335.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1025, allocations: 59.41 kB / 335.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.1029, allocations: 247.7 kB / 335.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1029, allocations: 33.7 kB / 335.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.103, allocations: 120.2 kB / 335.6 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.1031, allocations: 47.36 kB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/0.1032, allocations: 41.7 kB / 335.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1033, allocations: 338.8 kB / 336 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.1034, allocations: 87.89 kB / 336.1 MB, free: 12.13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1036, allocations: 105.7 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1039, allocations: 185.7 kB / 336.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1039, allocations: 0 / 336.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003923/0.1043, allocations: 257.3 kB / 336.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1043, allocations: 4.094 kB / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1044, allocations: 7.938 kB / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1044, allocations: 0 / 336.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1046, allocations: 35.86 kB / 336.7 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1046, allocations: 0 / 336.7 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1048, allocations: 31.81 kB / 336.7 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1048, allocations: 8 kB / 336.7 MB, free: 11.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,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.1049, allocations: 145.6 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.105, allocations: 19.8 kB / 336.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.105, allocations: 21.52 kB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.105, allocations: 3.938 kB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.105, allocations: 0 / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1051, allocations: 0 / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.1053, allocations: 241.5 kB / 337.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1053, allocations: 0 / 337.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1054, allocations: 19.92 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1054, allocations: 4 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1055, allocations: 4 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1055, allocations: 3.938 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1055, allocations: 0 / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.1059, allocations: 272.8 kB / 337.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.106, allocations: 108.9 kB / 337.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1061, allocations: 11.98 kB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1063, allocations: 23.98 kB / 337.6 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.1063, allocations: 11.98 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.1063, allocations: 3.938 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.1067, allocations: 193.4 kB / 337.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1067, allocations: 0 / 337.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.107, allocations: 87.98 kB / 337.8 MB, free: 10.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006362/0.1077, allocations: 284.8 kB / 338.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.108, allocations: 171.8 kB / 338.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.108, allocations: 3.938 kB / 338.3 MB, free: 9.797 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1082, allocations: 63.91 kB / 338.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1084, allocations: 19.98 kB / 338.4 MB, free: 9.715 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.1091, allocations: 358.4 kB / 338.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1093, allocations: 0.7241 MB / 339.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.1094, allocations: 33.39 kB / 339.5 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1095, allocations: 19.44 kB / 339.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of SimCode: time 1.863e-06/0.1095, allocations: 0 / 339.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of Templates: time 0.006519/0.116, allocations: 3.112 MB / 342.6 MB, free: 5.422 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)