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.0018/0.0018, allocations: 201.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009315/0.0009312, allocations: 87.03 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2059/0.2059, allocations: 45.14 MB / 383.7 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.187e-05, allocations: 0 / 453.3 MB, free: 75.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5467/0.676, allocations: 191.4 MB / 0.6914 GB, free: 11.53 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.6763, allocations: 79.08 kB / 0.6915 GB, free: 11.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08799/0.7643, allocations: 35.78 MB / 0.7264 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7644, allocations: 0 / 0.7264 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.7644, allocations: 4 kB / 0.7264 GB, free: 11.84 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.001139/0.7655, allocations: 0.5874 MB / 0.727 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7656, allocations: 8.031 kB / 0.727 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.766, allocations: 43.78 kB / 0.7271 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.7663, allocations: 214.8 kB / 0.7273 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.7663, allocations: 4 kB / 0.7273 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.7664, allocations: 12 kB / 0.7273 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003114/0.7667, allocations: 207.8 kB / 0.7275 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.767, allocations: 213 kB / 0.7277 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.767, allocations: 3.938 kB / 0.7277 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.767, allocations: 4 kB / 0.7277 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.7671, allocations: 4 kB / 0.7277 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.7692, allocations: 2.399 MB / 0.73 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.7694, allocations: 62.5 kB / 0.7301 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.7694, allocations: 28.8 kB / 0.7301 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.7698, allocations: 0.4908 MB / 0.7306 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.77, allocations: 102 kB / 0.7307 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.77, allocations: 0 / 0.7307 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0008348/0.7708, allocations: 212.6 kB / 0.7309 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.7709, allocations: 102.8 kB / 0.731 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.771, allocations: 155.5 kB / 0.7311 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.7711, allocations: 25.7 kB / 0.7312 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.7712, allocations: 163.5 kB / 0.7313 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.7712, allocations: 51.45 kB / 0.7314 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.7713, allocations: 0 / 0.7314 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7714, allocations: 322.8 kB / 0.7317 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.7715, allocations: 31.98 kB / 0.7317 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.7716, allocations: 177.7 kB / 0.7319 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.7724, allocations: 139.8 kB / 0.732 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7724, allocations: 0 / 0.732 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000987/0.7734, allocations: 301.3 kB / 0.7323 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.7734, allocations: 4 kB / 0.7323 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7734, allocations: 12 kB / 0.7323 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.7735, allocations: 8 kB / 0.7323 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.774, allocations: 95.88 kB / 0.7324 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004362/0.7744, allocations: 0.598 MB / 0.733 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.7746, allocations: 8.062 kB / 0.733 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.7746, allocations: 27.98 kB / 0.733 GB, free: 4.301 MB / 0.5105 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 0.00011/0.7748, allocations: 119.6 kB / 0.7331 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003253/0.7751, allocations: 125.3 kB / 0.7333 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.7751, allocations: 11.91 kB / 0.7333 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.7756, allocations: 161.2 kB / 0.7334 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7756, allocations: 288 / 0.7334 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7756, allocations: 0 / 0.7334 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.7756, allocations: 3.953 kB / 0.7334 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.7761, allocations: 383.8 kB / 0.7338 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7761, allocations: 8.031 kB / 0.7338 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.7765, allocations: 51.84 kB / 0.7339 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.7765, allocations: 7.984 kB / 0.7339 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.7765, allocations: 0 / 0.7339 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003354/0.7768, allocations: 0.586 MB / 0.7344 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7769, allocations: 3.984 kB / 0.7344 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.7772, allocations: 229.9 kB / 0.7347 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.7773, allocations: 113 kB / 0.7348 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.7773, allocations: 0 / 0.7348 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.7775, allocations: 11.89 kB / 0.7348 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.7775, allocations: 4 kB / 0.7348 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.7775, allocations: 7.984 kB / 0.7348 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.043e-05/0.7776, allocations: 124.5 kB / 0.7349 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7776, allocations: 0 / 0.7349 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006091/0.7783, allocations: 147.8 kB / 0.735 GB, free: 2.098 MB / 0.5105 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.001082/0.7793, allocations: 0.9821 MB / 0.736 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.7797, allocations: 135.7 kB / 0.7361 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7798, allocations: 0 / 0.7361 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.7799, allocations: 41.23 kB / 0.7362 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.7802, allocations: 28.03 kB / 0.7362 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/0.809, allocations: 11.9 MB / 0.7478 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.8094, allocations: 0.7165 MB / 0.7485 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003185/0.8098, allocations: 80.34 kB / 0.7486 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.8099, allocations: 51.41 kB / 0.7486 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of SimCode: time 1.173e-06/0.8099, allocations: 0 / 0.7486 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2779/1.088, allocations: 4.874 MB / 0.7534 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.088, allocations: 186.7 kB / 0.7536 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.826, allocations: 1.312 kB / 0.7536 GB, free: 179.6 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