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.0009998/0.0009998, allocations: 94.03 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.001207/0.001207, allocations: 185.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.08 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.000501/0.000501, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1188, allocations: 47.57 MB / 328.4 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001724/0.1206, allocations: 1.21 MB / 329.7 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1217, allocations: 0.5393 MB / 330.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.1218, allocations: 0 / 330.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.585e-05/0.1219, allocations: 11.88 kB / 330.2 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.122, allocations: 19.84 kB / 330.2 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.1225, allocations: 115.8 kB / 330.3 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1226, allocations: 103.7 kB / 330.4 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.409e-05/0.1227, allocations: 9.125 kB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.1228, allocations: 47.77 kB / 330.5 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.1229, allocations: 51.81 kB / 330.5 MB, free: 1.863 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1229, allocations: 4 kB / 330.6 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.1231, allocations: 111.8 kB / 330.7 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.1232, allocations: 27.91 kB / 330.7 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1232, allocations: 41.58 kB / 330.7 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.1235, allocations: 152 kB / 330.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1235, allocations: 11.88 kB / 330.9 MB, free: 1.516 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1235, allocations: 3.984 kB / 330.9 MB, free: 1.512 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1235, allocations: 0 / 330.9 MB, free: 1.512 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.0006425/0.1242, allocations: 434.8 kB / 331.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1242, allocations: 8.031 kB / 331.3 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.765e-05/0.1243, allocations: 38.56 kB / 331.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.1246, allocations: 43.78 kB / 331.4 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1248, allocations: 198.8 kB / 331.6 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1248, allocations: 4 kB / 331.6 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1249, allocations: 7.953 kB / 331.6 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.1251, allocations: 131.3 kB / 331.7 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1251, allocations: 0 / 331.7 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1251, allocations: 0 / 331.7 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1252, allocations: 7.984 kB / 331.7 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.1253, allocations: 63.95 kB / 331.8 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.1261, allocations: 464.7 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.1264, allocations: 137.2 kB / 332.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1265, allocations: 61.75 kB / 332.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.1265, allocations: 0 / 332.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.1268, allocations: 149 kB / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1268, allocations: 0 / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005142/0.1273, allocations: 249.4 kB / 332.8 MB, free: 15.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.1274, allocations: 89.11 kB / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.1276, allocations: 174.4 kB / 333.1 MB, free: 15.06 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.1277, allocations: 45.69 kB / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.912e-05/0.1277, allocations: 108.5 kB / 333.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.1278, allocations: 43.53 kB / 333.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.1278, allocations: 8 kB / 333.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.128, allocations: 334.7 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1282, allocations: 100.5 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1284, allocations: 131.5 kB / 333.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.1286, allocations: 119.9 kB / 334 MB, free: 14.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1286, allocations: 3.938 kB / 334 MB, free: 14.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004772/0.1291, allocations: 301.4 kB / 334.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1292, allocations: 6.656 kB / 334.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1292, allocations: 4 kB / 334.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1292, allocations: 0 / 334.3 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1293, allocations: 31.92 kB / 334.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1294, allocations: 0 / 334.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.1294, allocations: 27.73 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1295, allocations: 8 kB / 334.4 MB, free: 13.78 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.0001581/0.1296, allocations: 153.7 kB / 334.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1297, allocations: 19.75 kB / 334.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.1297, allocations: 9.406 kB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1297, allocations: 8 kB / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1297, allocations: 0 / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1297, allocations: 3.984 kB / 334.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.13, allocations: 209.6 kB / 334.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.13, allocations: 0 / 334.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.13, allocations: 15.98 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.13, allocations: 3.984 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1301, allocations: 0 / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1301, allocations: 4 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1301, allocations: 0 / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.1305, allocations: 230.1 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.1305, allocations: 96.88 kB / 335.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1306, allocations: 15.92 kB / 335.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.1306, allocations: 4 kB / 335.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.1307, allocations: 15.98 kB / 335.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1307, allocations: 3.984 kB / 335.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1309, allocations: 127.2 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 0 / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.1313, allocations: 48 kB / 335.3 MB, free: 12.73 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.00132/0.1326, allocations: 0.9503 MB / 336.2 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.133, allocations: 195.8 kB / 336.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.133, allocations: 8.125 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1331, allocations: 63.91 kB / 336.5 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.1333, allocations: 12 kB / 336.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.135, allocations: 1.064 MB / 337.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1354, allocations: 0.7157 MB / 338.3 MB, free: 9.605 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.1355, allocations: 24.88 kB / 338.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.1356, allocations: 43.42 kB / 338.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1356, allocations: 0 / 338.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.152, allocations: 3.488 MB / 341.9 MB, free: 6.055 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.1522, allocations: 231.4 kB / 342.1 MB, free: 5.809 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.224, allocations: 0 / 342.1 MB, free: 5.809 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