Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.00097/0.00097, allocations: 100.7 kB / 16.94 MB, free: 5.98 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.0009329/0.000933, allocations: 183.1 kB / 17.83 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.437/1.437, 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.0006082/0.0006084, allocations: 16 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1052, allocations: 47.57 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00159/0.1069, allocations: 1.219 MB / 329.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1079, allocations: 0.5385 MB / 330.2 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.108, allocations: 4 kB / 330.2 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.798e-05/0.1081, allocations: 11.86 kB / 330.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.1082, allocations: 15.86 kB / 330.2 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1086, allocations: 119.7 kB / 330.3 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1087, allocations: 71.84 kB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.1088, allocations: 5.125 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.1088, allocations: 47.83 kB / 330.4 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.1089, allocations: 43.77 kB / 330.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1089, allocations: 12 kB / 330.5 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.1091, allocations: 99.78 kB / 330.6 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.1092, allocations: 19.92 kB / 330.6 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.1092, allocations: 45.62 kB / 330.7 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1094, allocations: 151.9 kB / 330.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1094, allocations: 0 / 330.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1095, allocations: 0 / 330.8 MB, free: 1.598 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1095, allocations: 4 kB / 330.8 MB, free: 1.594 MB / 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.0005804/0.1101, allocations: 446.7 kB / 331.2 MB, free: 1.109 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1101, allocations: 8.031 kB / 331.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.1102, allocations: 38.55 kB / 331.3 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.1105, allocations: 43.73 kB / 331.3 MB, free: 1.012 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1106, allocations: 198.8 kB / 331.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1107, allocations: 4 kB / 331.5 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1107, allocations: 11.95 kB / 331.5 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.1109, allocations: 123.3 kB / 331.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1109, allocations: 0 / 331.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.111, allocations: 0 / 331.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.111, allocations: 4 kB / 331.7 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.1112, allocations: 67.89 kB / 331.7 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.1118, allocations: 460.7 kB / 332.2 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.1122, allocations: 145.3 kB / 332.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.1122, allocations: 4 kB / 332.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.1125, allocations: 148.4 kB / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.1125, allocations: 0 / 332.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005646/0.113, allocations: 407.6 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.1131, allocations: 101.2 kB / 333 MB, free: 15.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1133, allocations: 174.4 kB / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1133, allocations: 37.7 kB / 333.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.1134, allocations: 116.5 kB / 333.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.1134, allocations: 35.55 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.1135, allocations: 8 kB / 333.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1136, allocations: 330.8 kB / 333.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1138, allocations: 96.47 kB / 333.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.114, allocations: 135.5 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1142, allocations: 119.8 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1142, allocations: 0 / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004767/0.1147, allocations: 305.3 kB / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1147, allocations: 8 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1147, allocations: 0 / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1147, allocations: 0 / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1149, allocations: 35.91 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1149, allocations: 0 / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.115, allocations: 27.75 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.115, allocations: 8.031 kB / 334.4 MB, free: 13.72 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001529/0.1152, allocations: 149.7 kB / 334.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1152, allocations: 15.81 kB / 334.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.1152, allocations: 17.39 kB / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1152, allocations: 0 / 334.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1153, allocations: 4 kB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1153, allocations: 3.938 kB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1155, allocations: 205.6 kB / 334.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1155, allocations: 3.953 kB / 334.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1155, allocations: 11.98 kB / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1156, allocations: 0 / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1156, allocations: 4 kB / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1156, allocations: 0 / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1156, allocations: 3.938 kB / 334.8 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.116, allocations: 251.3 kB / 335 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.116, allocations: 92.91 kB / 335.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1161, allocations: 4 kB / 335.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.1161, allocations: 15.98 kB / 335.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.1162, allocations: 11.98 kB / 335.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1162, allocations: 4 kB / 335.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.1163, allocations: 123.2 kB / 335.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1163, allocations: 0 / 335.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1166, allocations: 55.97 kB / 335.3 MB, free: 12.65 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001118/0.1177, allocations: 1.029 MB / 336.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.1181, allocations: 191.9 kB / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1181, allocations: 0 / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1183, allocations: 67.91 kB / 336.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1184, allocations: 4 kB / 336.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.1193, allocations: 0.825 MB / 337.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1196, allocations: 0.716 MB / 338.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.1196, allocations: 12.88 kB / 338.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.1197, allocations: 43.42 kB / 338.2 MB, free: 9.652 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1197, allocations: 3.938 kB / 338.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.1336, allocations: 3.43 MB / 341.7 MB, free: 6.219 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.1338, allocations: 230.3 kB / 341.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.891, allocations: 0 / 341.9 MB, free: 5.969 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat does not exist to compare? outputFormat=mat