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.001467/0.001466, allocations: 97.31 kB / 16.95 MB, free: 6.891 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.001705/0.001705, allocations: 184.9 kB / 17.84 MB, free: 6.137 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.766/1.766, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004947/0.0004951, allocations: 16 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 47.57 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002259/0.128, allocations: 1.352 MB / 329.8 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1303, allocations: 1.152 MB / 330.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1305, allocations: 4 kB / 331 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.1309, allocations: 35.83 kB / 331 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.131, allocations: 27.84 kB / 331 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.1318, allocations: 231.5 kB / 331.2 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1321, allocations: 151.6 kB / 331.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1322, allocations: 29.31 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.1324, allocations: 71.77 kB / 331.5 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1326, allocations: 99.61 kB / 331.6 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1327, allocations: 8 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.1332, allocations: 291.4 kB / 331.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.746e-05/0.1333, allocations: 51.86 kB / 331.9 MB, free: 492 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.1334, allocations: 53.58 kB / 332 MB, free: 432 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.1337, allocations: 235.5 kB / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1337, allocations: 0 / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1337, allocations: 0 / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1337, allocations: 0 / 332.2 MB, free: 196 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.001175/0.1349, allocations: 0.5376 MB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.135, allocations: 8.031 kB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.135, allocations: 38.55 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.1353, allocations: 27.8 kB / 332.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.1357, allocations: 267.6 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.1358, allocations: 15.89 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1358, allocations: 12 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.136, allocations: 105.3 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.136, allocations: 0 / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1361, allocations: 0 / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1361, allocations: 0 / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.1363, allocations: 83.94 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.1371, allocations: 460.4 kB / 333.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1375, allocations: 126.5 kB / 333.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1376, allocations: 56.83 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1376, allocations: 3.984 kB / 333.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.1379, allocations: 127.4 kB / 334.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1379, allocations: 4 kB / 334.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005378/0.1384, allocations: 229.5 kB / 334.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1385, allocations: 63.38 kB / 334.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.1389, allocations: 247.7 kB / 334.6 MB, free: 13.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.139, allocations: 41.7 kB / 334.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1391, allocations: 120 kB / 334.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.1391, allocations: 35.61 kB / 334.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.1392, allocations: 7.984 kB / 334.8 MB, free: 13.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1393, allocations: 338.7 kB / 335.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1395, allocations: 79.95 kB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.1397, allocations: 113.8 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1398, allocations: 100.3 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1398, allocations: 96 / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004398/0.1403, allocations: 262.2 kB / 335.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1403, allocations: 4 kB / 335.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1403, allocations: 0 / 335.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1404, allocations: 32 / 335.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.1405, allocations: 35.98 kB / 335.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1406, allocations: 4 kB / 335.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1407, allocations: 27.81 kB / 335.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1408, allocations: 8 kB / 335.7 MB, free: 12.43 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.0001763/0.141, allocations: 145.7 kB / 335.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.141, allocations: 15.81 kB / 335.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.1411, allocations: 29.52 kB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1411, allocations: 0 / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1411, allocations: 0 / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1411, allocations: 0 / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.1414, allocations: 245.4 kB / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1414, allocations: 0 / 336.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1416, allocations: 19.92 kB / 336.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1416, allocations: 4 kB / 336.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.1416, allocations: 4 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1416, allocations: 0 / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1416, allocations: 4 kB / 336.2 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/0.1422, allocations: 276.8 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1423, allocations: 112.8 kB / 336.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1424, allocations: 7.984 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1426, allocations: 24.05 kB / 336.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.1426, allocations: 11.92 kB / 336.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1427, allocations: 3.984 kB / 336.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.143, allocations: 189.4 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.143, allocations: 0 / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004725/0.1435, allocations: 87.98 kB / 336.9 MB, free: 11.18 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.001646/0.1452, allocations: 1.008 MB / 337.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.1456, allocations: 168.2 kB / 338.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1456, allocations: 0 / 338.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1458, allocations: 71.95 kB / 338.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1461, allocations: 11.78 kB / 338.1 MB, free: 9.902 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.1487, allocations: 1.356 MB / 339.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1491, allocations: 0.7283 MB / 340.2 MB, free: 7.738 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.1492, allocations: 33.39 kB / 340.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.1493, allocations: 47.42 kB / 340.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1493, allocations: 0 / 340.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.1684, allocations: 4.89 MB / 345.2 MB, free: 2.766 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.1687, allocations: 251.8 kB / 345.4 MB, free: 2.512 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.261, allocations: 0 / 345.4 MB, free: 2.512 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