Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007959/0.000796, allocations: 90.42 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1813/0.1813, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.669e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 63.24 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5342, allocations: 192.1 MB / 0.6991 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5345, allocations: 82.08 kB / 0.6991 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08304/0.6176, allocations: 36 MB / 0.7343 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6176, allocations: 0 / 0.7343 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.6176, allocations: 4 kB / 0.7343 GB, free: 2.211 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009903/0.6186, allocations: 0.5913 MB / 0.7349 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6187, allocations: 11.97 kB / 0.7349 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.6187, allocations: 54.55 kB / 0.735 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.6192, allocations: 43.77 kB / 0.735 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.6194, allocations: 214.8 kB / 0.7352 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6194, allocations: 16 kB / 0.7352 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.6194, allocations: 16 kB / 0.7352 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.6198, allocations: 233.1 kB / 0.7355 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6198, allocations: 3.953 kB / 0.7355 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.6199, allocations: 12 kB / 0.7355 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6199, allocations: 4 kB / 0.7355 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.6202, allocations: 228.5 kB / 0.7357 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.6216, allocations: 1.334 MB / 0.737 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.6218, allocations: 90.91 kB / 0.7371 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.6218, allocations: 40.8 kB / 0.7371 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/0.6234, allocations: 2.094 MB / 0.7392 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.6237, allocations: 160.5 kB / 0.7393 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 2.875e-06/0.6237, allocations: 3.984 kB / 0.7393 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0008125/0.6245, allocations: 335.1 kB / 0.7396 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.6246, allocations: 265 kB / 0.7399 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.6248, allocations: 144.3 kB / 0.74 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.6248, allocations: 25.7 kB / 0.7401 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.6249, allocations: 148 kB / 0.7402 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.6249, allocations: 67.12 kB / 0.7403 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.6249, allocations: 8 kB / 0.7403 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.625, allocations: 322.8 kB / 0.7406 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.6251, allocations: 39.98 kB / 0.7406 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.6253, allocations: 187.1 kB / 0.7408 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.6254, allocations: 70.53 kB / 0.7409 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6254, allocations: 0 / 0.7409 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003737/0.6258, allocations: 261 kB / 0.7411 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.6258, allocations: 4 kB / 0.7411 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6258, allocations: 8 kB / 0.7411 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6258, allocations: 8 kB / 0.7411 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.6263, allocations: 92.47 kB / 0.7412 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003285/0.6266, allocations: 0.6016 MB / 0.7418 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.6268, allocations: 19.84 kB / 0.7418 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.6268, allocations: 20 kB / 0.7418 GB, free: 9.582 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/0.6269, allocations: 122.5 kB / 0.742 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.627, allocations: 23.84 kB / 0.742 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.6274, allocations: 227.4 kB / 0.7422 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6274, allocations: 96 / 0.7422 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6274, allocations: 3.938 kB / 0.7422 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.6274, allocations: 3.984 kB / 0.7422 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.6276, allocations: 221.5 kB / 0.7424 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6277, allocations: 7.984 kB / 0.7424 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.628, allocations: 43.97 kB / 0.7425 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.628, allocations: 0 / 0.7425 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.628, allocations: 11.94 kB / 0.7425 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002669/0.6283, allocations: 0.5859 MB / 0.743 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6283, allocations: 0 / 0.743 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.6285, allocations: 147.6 kB / 0.7432 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.6286, allocations: 112.9 kB / 0.7433 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.6286, allocations: 11.94 kB / 0.7433 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6287, allocations: 3.984 kB / 0.7433 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.6287, allocations: 7.984 kB / 0.7433 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.6288, allocations: 12 kB / 0.7433 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.124e-05/0.6289, allocations: 127.2 kB / 0.7435 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6289, allocations: 0 / 0.7435 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005662/0.6294, allocations: 155.8 kB / 0.7436 GB, free: 7.625 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008689/0.6303, allocations: 0.9215 MB / 0.7445 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.6307, allocations: 143.7 kB / 0.7446 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6307, allocations: 1.312 kB / 0.7446 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.6309, allocations: 43.86 kB / 0.7447 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.6311, allocations: 36.16 kB / 0.7447 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2498/0.881, allocations: 12.21 MB / 0.7566 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.8812, allocations: 0.7153 MB / 0.7573 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002903/0.8815, allocations: 74.22 kB / 0.7574 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.8816, allocations: 54.81 kB / 0.7575 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/0.8816, allocations: 1.375 kB / 0.7575 GB, free: 177.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.9016, allocations: 5.487 MB / 0.7628 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.9018, allocations: 238.7 kB / 0.763 GB, free: 177.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.618, allocations: 2.25 kB / 0.763 GB, free: 177.4 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat