Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 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.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001492/0.001492, allocations: 97.55 kB / 16.95 MB, free: 6.887 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.001866/0.001866, allocations: 185.1 kB / 17.84 MB, free: 6.133 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.871/1.871, 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.0004911/0.0004912, allocations: 12 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 47.58 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002428/0.1145, allocations: 1.266 MB / 329.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1158, allocations: 0.5321 MB / 330.2 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.1159, allocations: 0 / 330.2 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.1159, allocations: 7.875 kB / 330.2 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1161, allocations: 7.938 kB / 330.3 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.1164, allocations: 27.91 kB / 330.3 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.1165, allocations: 51.84 kB / 330.3 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1167, allocations: 23.97 kB / 330.4 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.1167, allocations: 11.92 kB / 330.4 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.1168, allocations: 19.86 kB / 330.4 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.1168, allocations: 4 kB / 330.4 MB, free: 2.016 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.117, allocations: 43.95 kB / 330.4 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.1171, allocations: 7.938 kB / 330.4 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.1171, allocations: 33.64 kB / 330.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.1172, allocations: 55.89 kB / 330.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1173, allocations: 4 kB / 330.5 MB, free: 1.867 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1173, allocations: 0 / 330.5 MB, free: 1.867 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1173, allocations: 0 / 330.5 MB, free: 1.867 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005399/0.1178, allocations: 379.3 kB / 330.9 MB, free: 1.449 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1179, allocations: 8.031 kB / 330.9 MB, free: 1.441 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.118, allocations: 42.47 kB / 331 MB, free: 1.391 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004141/0.1184, allocations: 51.86 kB / 331 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1186, allocations: 171 kB / 331.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1186, allocations: 11.95 kB / 331.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1187, allocations: 11.94 kB / 331.2 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.119, allocations: 100.2 kB / 331.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.119, allocations: 4 kB / 331.3 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.119, allocations: 0 / 331.3 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.119, allocations: 4 kB / 331.3 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.1193, allocations: 79.94 kB / 331.4 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.12, allocations: 372.5 kB / 331.7 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1203, allocations: 74.55 kB / 331.8 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1204, allocations: 44.95 kB / 331.9 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1204, allocations: 7.922 kB / 331.9 MB, free: 380 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1204, allocations: 34.56 kB / 331.9 MB, free: 336 kB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.1204, allocations: 0 / 331.9 MB, free: 336 kB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004604/0.1209, allocations: 141.6 kB / 332 MB, free: 188 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.121, allocations: 55.41 kB / 332.1 MB, free: 120 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1211, allocations: 123 kB / 332.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1212, allocations: 25.7 kB / 332.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.1213, allocations: 104 kB / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.1213, allocations: 15.73 kB / 332.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.1213, allocations: 0 / 332.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003588/0.1217, allocations: 318.8 kB / 332.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1218, allocations: 35.97 kB / 332.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.1219, allocations: 43.86 kB / 332.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.922e-05/0.122, allocations: 32.36 kB / 332.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.122, allocations: 0 / 332.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002714/0.1223, allocations: 109.5 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.1223, allocations: 12 kB / 332.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1223, allocations: 3.938 kB / 332.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1224, allocations: 3.953 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1225, allocations: 19.98 kB / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1226, allocations: 0 / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.1226, allocations: 19.98 kB / 332.9 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1227, allocations: 0 / 332.9 MB, free: 15.23 MB / 286.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 0.0001284/0.1228, allocations: 117.8 kB / 333.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.1228, allocations: 7.906 kB / 333.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.1232, allocations: 121.6 kB / 333.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1232, allocations: 3.953 kB / 333.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1232, allocations: 0 / 333.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1232, allocations: 0 / 333.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.1235, allocations: 193.6 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1235, allocations: 0 / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1237, allocations: 19.98 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.1237, allocations: 3.984 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1237, allocations: 7.984 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1237, allocations: 4 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1237, allocations: 3.953 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1241, allocations: 207.4 kB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.1241, allocations: 89.05 kB / 333.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1242, allocations: 3.984 kB / 333.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1243, allocations: 8.188 kB / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.1243, allocations: 7.984 kB / 333.7 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1243, allocations: 7.953 kB / 333.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.334e-05/0.1244, allocations: 99.27 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1244, allocations: 0 / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1247, allocations: 11.91 kB / 333.8 MB, free: 14.23 MB / 286.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.000971/0.1256, allocations: 0.7787 MB / 334.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.1259, allocations: 79.98 kB / 334.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1259, allocations: 4 kB / 334.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.126, allocations: 39.92 kB / 334.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1264, allocations: 11.94 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1276, allocations: 0.6237 MB / 335.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.128, allocations: 0.7015 MB / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.128, allocations: 4 kB / 336.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.1281, allocations: 27.48 kB / 336.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1281, allocations: 4 kB / 336.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1442, allocations: 1.66 MB / 337.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003113/0.1446, allocations: 181.8 kB / 337.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.115, allocations: 0 / 337.9 MB, free: 9.977 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat does not exist to compare? outputFormat=mat