Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.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.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",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.00121/0.00121, allocations: 94.8 kB / 16.3 MB, free: 5.531 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.001281/0.001281, allocations: 185 kB / 17.2 MB, free: 5.465 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.53/1.53, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002516, allocations: 4 kB / 300.8 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1147, allocations: 50.42 MB / 351.2 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001748/0.1165, allocations: 1.274 MB / 352.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.1173, allocations: 491.7 kB / 353 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.1174, allocations: 0 / 353 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.1174, allocations: 3.938 kB / 353 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.1175, allocations: 11.98 kB / 353 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.1177, allocations: 35.89 kB / 353 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.1178, allocations: 31.91 kB / 353.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.1179, allocations: 23.97 kB / 353.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.1179, allocations: 7.938 kB / 353.1 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.118, allocations: 19.86 kB / 353.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.118, allocations: 4 kB / 353.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1181, allocations: 39.95 kB / 353.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1182, allocations: 11.92 kB / 353.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1182, allocations: 33.64 kB / 353.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.1183, allocations: 59.83 kB / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1183, allocations: 0 / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1183, allocations: 0 / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1183, allocations: 4 kB / 353.3 MB, free: 1.645 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003906/0.1187, allocations: 371.3 kB / 353.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1188, allocations: 12.03 kB / 353.6 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.1188, allocations: 42.45 kB / 353.7 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.1192, allocations: 47.86 kB / 353.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1193, allocations: 171 kB / 353.9 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1194, allocations: 8 kB / 353.9 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1194, allocations: 8 kB / 353.9 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.1196, allocations: 101.5 kB / 354 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1196, allocations: 0 / 354 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1197, allocations: 11.89 kB / 354 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1197, allocations: 0 / 354 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1199, allocations: 87.94 kB / 354.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.1205, allocations: 368.5 kB / 354.5 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1207, allocations: 82.53 kB / 354.6 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1208, allocations: 8.109 kB / 354.6 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1208, allocations: 34.5 kB / 354.6 MB, free: 152 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1208, allocations: 0 / 354.6 MB, free: 152 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004309/0.1212, allocations: 133.8 kB / 354.7 MB, free: 12 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1213, allocations: 55.41 kB / 354.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.276e-05/0.1214, allocations: 121.3 kB / 354.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1214, allocations: 29.7 kB / 354.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.1215, allocations: 103.9 kB / 355 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1215, allocations: 15.75 kB / 355 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.1215, allocations: 3.938 kB / 355 MB, free: 15.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1216, allocations: 326.8 kB / 355.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.1217, allocations: 27.98 kB / 355.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.1218, allocations: 35.97 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1219, allocations: 31.98 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1219, allocations: 3.938 kB / 355.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002426/0.1222, allocations: 109.5 kB / 355.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1222, allocations: 8 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1222, allocations: 0 / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1222, allocations: 0 / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1224, allocations: 20.42 kB / 355.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1224, allocations: 0 / 355.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.1225, allocations: 19.98 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1225, allocations: 0 / 355.6 MB, free: 15.07 MB / 302.1 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 8.682e-05/0.1226, allocations: 117.8 kB / 355.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.1226, allocations: 11.89 kB / 355.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.123, allocations: 129.5 kB / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.123, allocations: 0 / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.123, allocations: 0 / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.123, allocations: 0 / 355.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1232, allocations: 197.6 kB / 356.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1232, allocations: 0 / 356.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1233, allocations: 23.98 kB / 356.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1234, allocations: 0 / 356.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1234, allocations: 4 kB / 356.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1234, allocations: 0 / 356.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1234, allocations: 0 / 356.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1237, allocations: 215.3 kB / 356.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1237, allocations: 88.98 kB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1238, allocations: 0 / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1239, allocations: 11.98 kB / 356.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1239, allocations: 11.98 kB / 356.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1239, allocations: 0 / 356.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.124, allocations: 95.27 kB / 356.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.124, allocations: 4 kB / 356.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1242, allocations: 11.91 kB / 356.5 MB, free: 14.06 MB / 302.1 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.000688/0.1249, allocations: 0.7864 MB / 357.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1252, allocations: 76.19 kB / 357.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1252, allocations: 4 kB / 357.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1253, allocations: 44.03 kB / 357.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1256, allocations: 14.95 kB / 357.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1267, allocations: 0.6191 MB / 358.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.127, allocations: 0.7004 MB / 358.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.127, allocations: 11.98 kB / 358.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.1271, allocations: 23.5 kB / 358.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1271, allocations: 0 / 358.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.1384, allocations: 1.631 MB / 360.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.1387, allocations: 163.7 kB / 360.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/1.991, allocations: 7.562 kB / 360.6 MB, free: 9.922 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat does not exist to compare? outputFormat=mat