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.002645/0.002646, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.2 MB / 245 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009019/0.000902, allocations: 101.4 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3993/0.3993, allocations: 45.24 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003644, allocations: 8 kB / 468.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3945, allocations: 63.25 MB / 0.5193 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5953/0.9898, allocations: 192.2 MB / 0.7069 GB, free: 96.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.9902, allocations: 82.42 kB / 0.707 GB, free: 96.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08493/1.075, allocations: 36.08 MB / 0.7423 GB, free: 85.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.075, allocations: 0 / 0.7423 GB, free: 85.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/1.075, allocations: 7.75 kB / 0.7423 GB, free: 85.27 MB / 490.7 MB 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.001254/1.076, allocations: 0.5958 MB / 0.7429 GB, free: 84.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.076, allocations: 15.06 kB / 0.7429 GB, free: 84.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.755e-05/1.077, allocations: 48.86 kB / 0.7429 GB, free: 84.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/1.077, allocations: 44.41 kB / 0.743 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/1.077, allocations: 205.3 kB / 0.7432 GB, free: 84.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/1.077, allocations: 13.81 kB / 0.7432 GB, free: 84.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/1.077, allocations: 14.94 kB / 0.7432 GB, free: 84.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/1.078, allocations: 242 kB / 0.7434 GB, free: 84.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.078, allocations: 7.891 kB / 0.7434 GB, free: 84.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/1.078, allocations: 9.25 kB / 0.7434 GB, free: 84.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.078, allocations: 6.406 kB / 0.7434 GB, free: 84.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/1.078, allocations: 229.5 kB / 0.7437 GB, free: 84.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/1.079, allocations: 1.334 MB / 0.745 GB, free: 82.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/1.08, allocations: 81.58 kB / 0.745 GB, free: 82.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.081, allocations: 2.069 MB / 0.7471 GB, free: 80.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/1.081, allocations: 165.9 kB / 0.7472 GB, free: 80.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 2.275e-06/1.081, allocations: 0 / 0.7472 GB, free: 80.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.000932/1.082, allocations: 350.7 kB / 0.7475 GB, free: 80.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/1.082, allocations: 269.1 kB / 0.7478 GB, free: 79.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.082, allocations: 148.7 kB / 0.7479 GB, free: 79.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.082, allocations: 29.08 kB / 0.748 GB, free: 79.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/1.082, allocations: 142.6 kB / 0.7481 GB, free: 79.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/1.082, allocations: 69.72 kB / 0.7482 GB, free: 79.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/1.082, allocations: 7.5 kB / 0.7482 GB, free: 79.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/1.083, allocations: 322.9 kB / 0.7485 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/1.083, allocations: 41.94 kB / 0.7485 GB, free: 79.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/1.083, allocations: 191.7 kB / 0.7487 GB, free: 79.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/1.083, allocations: 68.3 kB / 0.7488 GB, free: 79.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.083, allocations: 3.875 kB / 0.7488 GB, free: 79.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003803/1.083, allocations: 257.3 kB / 0.749 GB, free: 79.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.083, allocations: 7.75 kB / 0.749 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.083, allocations: 12.25 kB / 0.749 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.083, allocations: 7.719 kB / 0.7491 GB, free: 79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/1.084, allocations: 105.3 kB / 0.7492 GB, free: 78.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002456/1.084, allocations: 0.5965 MB / 0.7497 GB, free: 78.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/1.084, allocations: 7.562 kB / 0.7497 GB, free: 78.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.084, allocations: 22.86 kB / 0.7498 GB, free: 78.37 MB / 490.7 MB 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 () * Number of clocked 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 0.0001099/1.084, allocations: 136.6 kB / 0.7499 GB, free: 78.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/1.085, allocations: 19.62 kB / 0.7499 GB, free: 78.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/1.085, allocations: 228.6 kB / 0.7501 GB, free: 78.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.085, allocations: 0 / 0.7501 GB, free: 78.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.085, allocations: 7.969 kB / 0.7501 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.085, allocations: 3.875 kB / 0.7501 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/1.085, allocations: 221.5 kB / 0.7504 GB, free: 77.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.085, allocations: 0 / 0.7504 GB, free: 77.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/1.086, allocations: 50.77 kB / 0.7504 GB, free: 77.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.086, allocations: 0 / 0.7504 GB, free: 77.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/1.086, allocations: 3.875 kB / 0.7504 GB, free: 77.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001712/1.086, allocations: 0.5887 MB / 0.751 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.086, allocations: 0 / 0.751 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/1.086, allocations: 149.3 kB / 0.7511 GB, free: 77.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/1.086, allocations: 115.8 kB / 0.7512 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/1.086, allocations: 0 / 0.7512 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.086, allocations: 6.875 kB / 0.7512 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/1.086, allocations: 11.89 kB / 0.7513 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/1.086, allocations: 11.3 kB / 0.7513 GB, free: 77.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.831e-05/1.086, allocations: 125.8 kB / 0.7514 GB, free: 76.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.086, allocations: 3.938 kB / 0.7514 GB, free: 76.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006136/1.087, allocations: 163.3 kB / 0.7515 GB, free: 76.88 MB / 490.7 MB 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 () * Number of clocked 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.0009523/1.088, allocations: 0.907 MB / 0.7524 GB, free: 76.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000437/1.088, allocations: 151.2 kB / 0.7526 GB, free: 76.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.088, allocations: 320 / 0.7526 GB, free: 76.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/1.089, allocations: 51.25 kB / 0.7526 GB, free: 76.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/1.089, allocations: 28.59 kB / 0.7527 GB, free: 76.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/1.119, allocations: 16.2 MB / 0.7685 GB, free: 63.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/1.119, allocations: 0.7244 MB / 0.7692 GB, free: 62.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003155/1.119, allocations: 69.7 kB / 0.7692 GB, free: 62.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/1.119, allocations: 57.08 kB / 0.7693 GB, free: 62.19 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/1.119, allocations: 4 kB / 0.7693 GB, free: 62.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/1.139, allocations: 5.455 MB / 0.7746 GB, free: 56.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/1.139, allocations: 263 kB / 0.7749 GB, free: 56.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.972, allocations: 0 / 0.7749 GB, free: 56.6 MB / 490.7 MB (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