Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_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.0009959/0.0009959, allocations: 92.28 kB / 16.3 MB, free: 6.461 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.001084/0.001084, allocations: 183.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 8.188 kB / 300.8 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 50.43 MB / 351.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002176/0.1414, allocations: 1.34 MB / 352.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.1435, allocations: 1.147 MB / 353.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1436, allocations: 0 / 353.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003642/0.1439, allocations: 23.86 kB / 353.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1441, allocations: 35.88 kB / 353.8 MB, free: 9.047 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.1448, allocations: 227.4 kB / 354 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.145, allocations: 103.8 kB / 354.1 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1451, allocations: 13.11 kB / 354.1 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1453, allocations: 79.72 kB / 354.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1455, allocations: 83.72 kB / 354.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1455, allocations: 11.94 kB / 354.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.146, allocations: 267.6 kB / 354.5 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1461, allocations: 51.81 kB / 354.6 MB, free: 8.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.1462, allocations: 41.64 kB / 354.6 MB, free: 8.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1466, allocations: 227.5 kB / 354.9 MB, free: 7.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1466, allocations: 0 / 354.9 MB, free: 7.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1466, allocations: 0 / 354.9 MB, free: 7.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.994e-06/0.1466, allocations: 0 / 354.9 MB, free: 7.957 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.001517/0.1481, allocations: 0.5336 MB / 355.4 MB, free: 7.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1482, allocations: 8.031 kB / 355.4 MB, free: 7.367 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.1483, allocations: 38.56 kB / 355.4 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.1485, allocations: 27.75 kB / 355.5 MB, free: 7.293 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.149, allocations: 275.5 kB / 355.7 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.149, allocations: 4 kB / 355.7 MB, free: 6.977 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.1491, allocations: 12 kB / 355.7 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1493, allocations: 97.62 kB / 355.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1493, allocations: 0 / 355.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1493, allocations: 8 kB / 355.8 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1494, allocations: 3.953 kB / 355.8 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.1496, allocations: 91.81 kB / 355.9 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1507, allocations: 460.5 kB / 356.4 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.151, allocations: 126.5 kB / 356.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.151, allocations: 0 / 356.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.1513, allocations: 135.3 kB / 356.6 MB, free: 5.984 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.1513, allocations: 0 / 356.6 MB, free: 5.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005504/0.1518, allocations: 314.1 kB / 357 MB, free: 5.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.1519, allocations: 59.34 kB / 357 MB, free: 5.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004073/0.1523, allocations: 248.8 kB / 357.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.1524, allocations: 37.69 kB / 357.3 MB, free: 5.289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1525, allocations: 124 kB / 357.4 MB, free: 5.164 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.1525, allocations: 35.59 kB / 357.4 MB, free: 5.129 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.1526, allocations: 8 kB / 357.5 MB, free: 5.121 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1528, allocations: 330.8 kB / 357.8 MB, free: 4.789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1529, allocations: 83.95 kB / 357.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.1531, allocations: 109.8 kB / 358 MB, free: 4.594 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1533, allocations: 88.16 kB / 358.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1533, allocations: 0 / 358.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005101/0.1538, allocations: 262.4 kB / 358.3 MB, free: 4.246 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1538, allocations: 6.656 kB / 358.3 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1539, allocations: 7.953 kB / 358.3 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1539, allocations: 4.031 kB / 358.3 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1541, allocations: 31.97 kB / 358.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1541, allocations: 7.875 kB / 358.4 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1543, allocations: 35.81 kB / 358.4 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1543, allocations: 4 kB / 358.4 MB, free: 4.152 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.0001404/0.1545, allocations: 141.8 kB / 358.5 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.1545, allocations: 19.8 kB / 358.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.1545, allocations: 17.53 kB / 358.6 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1546, allocations: 7.953 kB / 358.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1546, allocations: 0 / 358.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1546, allocations: 0 / 358.6 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1548, allocations: 245.4 kB / 358.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1548, allocations: 0 / 358.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.155, allocations: 19.92 kB / 358.8 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.155, allocations: 0 / 358.8 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.155, allocations: 4 kB / 358.8 MB, free: 3.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.155, allocations: 4 kB / 358.9 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.155, allocations: 3.953 kB / 358.9 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.1555, allocations: 279.2 kB / 359.1 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1556, allocations: 104.9 kB / 359.2 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.1557, allocations: 7.984 kB / 359.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1559, allocations: 27.97 kB / 359.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.1559, allocations: 15.94 kB / 359.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.156, allocations: 4 kB / 359.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003224/0.1563, allocations: 184.4 kB / 359.5 MB, free: 2.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1563, allocations: 0 / 359.5 MB, free: 2.996 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.1567, allocations: 87.98 kB / 359.6 MB, free: 2.91 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.001554/0.1583, allocations: 0.9752 MB / 360.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.1587, allocations: 172.2 kB / 360.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1587, allocations: 4.062 kB / 360.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1589, allocations: 59.97 kB / 360.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1592, allocations: 19.92 kB / 360.8 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1606, allocations: 0.8044 MB / 361.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.1612, allocations: 0.7322 MB / 362.3 MB, free: 68 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1614, allocations: 29.41 kB / 362.3 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.1615, allocations: 51.47 kB / 362.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1615, allocations: 4 kB / 362.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1805, allocations: 4.614 MB / 367 MB, free: 11.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.1807, allocations: 229.2 kB / 367.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.241, allocations: 0 / 367.2 MB, free: 11.27 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat