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.0008686/0.0008686, allocations: 87.7 kB / 16.31 MB, free: 6.453 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.0009621/0.0009623, allocations: 180.8 kB / 17.21 MB, free: 6.328 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.467/1.467, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 6.625 kB / 300.9 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 50.43 MB / 351.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002136/0.1171, allocations: 1.351 MB / 352.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1194, allocations: 1.12 MB / 353.8 MB, free: 9.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1196, allocations: 8 kB / 353.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.12, allocations: 31.78 kB / 353.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1201, allocations: 35.77 kB / 353.9 MB, free: 9.031 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.0006559/0.1207, allocations: 227.5 kB / 354.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.121, allocations: 147.6 kB / 354.2 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.1211, allocations: 17.12 kB / 354.3 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1212, allocations: 79.67 kB / 354.3 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.1215, allocations: 95.69 kB / 354.4 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.1215, allocations: 8 kB / 354.4 MB, free: 8.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.122, allocations: 291.4 kB / 354.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.1221, allocations: 43.83 kB / 354.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.296e-05/0.1222, allocations: 49.64 kB / 354.8 MB, free: 8.086 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1225, allocations: 223.6 kB / 355 MB, free: 7.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1225, allocations: 0 / 355 MB, free: 7.867 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1225, allocations: 0 / 355 MB, free: 7.867 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1225, allocations: 0 / 355 MB, free: 7.867 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.001266/0.1238, allocations: 0.5284 MB / 355.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1238, allocations: 12.03 kB / 355.6 MB, free: 7.281 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.1239, allocations: 42.48 kB / 355.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.1241, allocations: 31.75 kB / 355.6 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.1245, allocations: 263.7 kB / 355.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1246, allocations: 12 kB / 355.9 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1246, allocations: 7.938 kB / 355.9 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1248, allocations: 105.6 kB / 356 MB, free: 6.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1248, allocations: 3.906 kB / 356 MB, free: 6.766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1248, allocations: 0 / 356 MB, free: 6.766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1249, allocations: 7.953 kB / 356 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.1251, allocations: 83.88 kB / 356.1 MB, free: 6.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.1259, allocations: 444.6 kB / 356.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1262, allocations: 130.6 kB / 356.7 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1263, allocations: 60.77 kB / 356.7 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1263, allocations: 4 kB / 356.7 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.1266, allocations: 123.2 kB / 356.9 MB, free: 5.855 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.572e-06/0.1266, allocations: 7.938 kB / 356.9 MB, free: 5.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005031/0.1271, allocations: 241.4 kB / 357.1 MB, free: 5.605 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1272, allocations: 63.41 kB / 357.2 MB, free: 5.531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.1275, allocations: 244.8 kB / 357.4 MB, free: 5.281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1276, allocations: 37.7 kB / 357.4 MB, free: 5.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.1277, allocations: 116.1 kB / 357.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.1277, allocations: 47.5 kB / 357.6 MB, free: 5.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.1278, allocations: 4 kB / 357.6 MB, free: 5.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1279, allocations: 330.8 kB / 357.9 MB, free: 4.738 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1281, allocations: 87.89 kB / 358 MB, free: 4.652 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1283, allocations: 105.8 kB / 358.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1284, allocations: 92.81 kB / 358.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1284, allocations: 0 / 358.2 MB, free: 4.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004449/0.1289, allocations: 262.4 kB / 358.5 MB, free: 4.191 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1289, allocations: 11.95 kB / 358.5 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1289, allocations: 0 / 358.5 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.129, allocations: 4.031 kB / 358.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1291, allocations: 35.91 kB / 358.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1292, allocations: 0 / 358.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1294, allocations: 31.83 kB / 358.6 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.1294, allocations: 4 kB / 358.6 MB, free: 4.105 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.0001319/0.1296, allocations: 145.8 kB / 358.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1296, allocations: 15.81 kB / 358.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.1297, allocations: 29.42 kB / 358.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1297, allocations: 0 / 358.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1297, allocations: 0 / 358.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1297, allocations: 0 / 358.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1299, allocations: 245.4 kB / 359 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1299, allocations: 0 / 359 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.1301, allocations: 19.98 kB / 359 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1301, allocations: 0 / 359 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1301, allocations: 8 kB / 359 MB, free: 3.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1301, allocations: 3.953 kB / 359 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1301, allocations: 7.984 kB / 359 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.1306, allocations: 276.2 kB / 359.3 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.1307, allocations: 104.9 kB / 359.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1307, allocations: 15.94 kB / 359.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1309, allocations: 20.03 kB / 359.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.131, allocations: 11.94 kB / 359.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.131, allocations: 4 kB / 359.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003642/0.1314, allocations: 192.6 kB / 359.6 MB, free: 2.938 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1314, allocations: 0 / 359.6 MB, free: 2.938 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.1317, allocations: 83.92 kB / 359.7 MB, free: 2.855 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.00131/0.133, allocations: 0.9709 MB / 360.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1334, allocations: 172.2 kB / 360.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1334, allocations: 4.062 kB / 360.9 MB, free: 1.715 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1335, allocations: 67.89 kB / 360.9 MB, free: 1.648 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1338, allocations: 19.95 kB / 360.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1361, allocations: 1.344 MB / 362.3 MB, free: 244 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1364, allocations: 0.7283 MB / 363 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.1365, allocations: 33.39 kB / 363 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.1366, allocations: 47.42 kB / 363.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1366, allocations: 0 / 363.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.154, allocations: 4.729 MB / 367.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.1543, allocations: 236.5 kB / 368.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.184, allocations: 0 / 368.1 MB, free: 10.58 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