Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002284/0.002289, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.74/2.74, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003955, allocations: 8 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1, allocations: 47.57 MB / 374.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002501/0.1026, allocations: 1.27 MB / 375.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1039, allocations: 0.5321 MB / 376.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.104, allocations: 0 / 376.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.104, allocations: 0 / 376.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.488e-05/0.1041, allocations: 7.922 kB / 376.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1043, allocations: 43.89 kB / 376.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.1044, allocations: 27.91 kB / 376.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1046, allocations: 19.97 kB / 376.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.1046, allocations: 15.94 kB / 376.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.1047, allocations: 27.83 kB / 376.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1047, allocations: 4 kB / 376.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1049, allocations: 31.97 kB / 376.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.105, allocations: 11.94 kB / 376.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.105, allocations: 33.64 kB / 376.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1052, allocations: 51.89 kB / 376.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1052, allocations: 4 kB / 376.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1052, allocations: 4 kB / 376.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1052, allocations: 0 / 376.7 MB, free: 13.24 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005236/0.1057, allocations: 371.3 kB / 377.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1058, allocations: 8.031 kB / 377.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.741e-05/0.1059, allocations: 50.39 kB / 377.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/0.1064, allocations: 55.86 kB / 377.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1066, allocations: 167 kB / 377.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.1067, allocations: 11.95 kB / 377.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1067, allocations: 7.984 kB / 377.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1071, allocations: 101.5 kB / 377.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1071, allocations: 3.938 kB / 377.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1071, allocations: 4 kB / 377.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1072, allocations: 4 kB / 377.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.1076, allocations: 79.95 kB / 377.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.1085, allocations: 368.4 kB / 377.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.1088, allocations: 82.53 kB / 378 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1089, allocations: 0 / 378 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1089, allocations: 34.56 kB / 378 MB, free: 11.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.1089, allocations: 4 kB / 378 MB, free: 11.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007032/0.1097, allocations: 141.6 kB / 378.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1097, allocations: 55.41 kB / 378.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1099, allocations: 122.1 kB / 378.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1099, allocations: 29.69 kB / 378.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.11, allocations: 166.5 kB / 378.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.11, allocations: 19.75 kB / 378.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.1101, allocations: 0 / 378.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1102, allocations: 314.8 kB / 378.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.1104, allocations: 35.98 kB / 378.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1106, allocations: 31.97 kB / 378.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1108, allocations: 27.98 kB / 379 MB, free: 10.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1108, allocations: 4 kB / 379 MB, free: 10.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004296/0.1113, allocations: 105.6 kB / 379.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1113, allocations: 4 kB / 379.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.1113, allocations: 4 kB / 379.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1114, allocations: 7.953 kB / 379.1 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.1116, allocations: 23.97 kB / 379.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1116, allocations: 3.938 kB / 379.1 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1118, allocations: 8 kB / 379.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.1118, allocations: 7.984 kB / 379.1 MB, free: 10.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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.0001137/0.1119, allocations: 113.8 kB / 379.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.112, allocations: 11.91 kB / 379.2 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.1125, allocations: 122 kB / 379.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1125, allocations: 4 kB / 379.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1126, allocations: 7.953 kB / 379.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1126, allocations: 64 / 379.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.1129, allocations: 197.6 kB / 379.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1129, allocations: 0 / 379.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.1131, allocations: 19.98 kB / 379.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1132, allocations: 3.984 kB / 379.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1132, allocations: 4 kB / 379.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1132, allocations: 0 / 379.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1132, allocations: 0 / 379.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.1137, allocations: 219.3 kB / 379.8 MB, free: 9.836 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.1138, allocations: 84.95 kB / 379.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1138, allocations: 4 kB / 379.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.114, allocations: 15.98 kB / 379.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1141, allocations: 0 / 379.9 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1141, allocations: 4 kB / 379.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.529e-05/0.1142, allocations: 99.22 kB / 380 MB, free: 9.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1142, allocations: 0 / 380 MB, free: 9.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000348/0.1146, allocations: 12 kB / 380 MB, free: 9.602 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001049/0.1156, allocations: 0.7866 MB / 380.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.1161, allocations: 75.94 kB / 380.9 MB, free: 8.715 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1161, allocations: 4 kB / 380.9 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.1163, allocations: 39.97 kB / 380.9 MB, free: 8.672 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1166, allocations: 11.94 kB / 380.9 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.1184, allocations: 0.651 MB / 381.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1188, allocations: 0.7004 MB / 382.3 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1189, allocations: 27.48 kB / 382.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1189, allocations: 0 / 382.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.445/2.564, allocations: 1.333 MB / 383.6 MB, free: 5.871 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat