Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 179.6 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.0008824, allocations: 97.2 kB / 292.1 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3915/0.3915, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004174, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4271, allocations: 61.9 MB / 0.5096 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5181/0.9453, allocations: 191.1 MB / 0.6963 GB, free: 141.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.9456, allocations: 81.03 kB / 0.6964 GB, free: 141.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08846/1.034, allocations: 35.62 MB / 0.7312 GB, free: 123.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.034, allocations: 4 kB / 0.7312 GB, free: 123.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/1.034, allocations: 4 kB / 0.7312 GB, free: 123.3 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.001188/1.035, allocations: 0.5922 MB / 0.7317 GB, free: 122.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.035, allocations: 12.03 kB / 0.7317 GB, free: 122.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/1.035, allocations: 54.48 kB / 0.7318 GB, free: 122.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/1.036, allocations: 48.08 kB / 0.7318 GB, free: 122.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/1.036, allocations: 206.9 kB / 0.732 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/1.036, allocations: 12 kB / 0.7321 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/1.036, allocations: 20 kB / 0.7321 GB, free: 122.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/1.037, allocations: 233.8 kB / 0.7323 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.037, allocations: 4 kB / 0.7323 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/1.037, allocations: 4 kB / 0.7323 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/1.037, allocations: 8 kB / 0.7323 GB, free: 122 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/1.037, allocations: 236.5 kB / 0.7325 GB, free: 121.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/1.038, allocations: 1.33 MB / 0.7338 GB, free: 120.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/1.038, allocations: 90.47 kB / 0.7339 GB, free: 120.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.039, allocations: 2.063 MB / 0.7359 GB, free: 117.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/1.039, allocations: 169.2 kB / 0.7361 GB, free: 117.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/1.039, allocations: 0 / 0.7361 GB, free: 117.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008043/1.04, allocations: 347.9 kB / 0.7364 GB, free: 117.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/1.04, allocations: 269 kB / 0.7367 GB, free: 116.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/1.04, allocations: 144.5 kB / 0.7368 GB, free: 116.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.041, allocations: 25.7 kB / 0.7368 GB, free: 116.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/1.041, allocations: 155.6 kB / 0.737 GB, free: 116.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/1.041, allocations: 63.09 kB / 0.7371 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/1.041, allocations: 12 kB / 0.7371 GB, free: 116.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/1.041, allocations: 318.8 kB / 0.7374 GB, free: 116.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/1.041, allocations: 39.97 kB / 0.7374 GB, free: 116.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.041, allocations: 183.4 kB / 0.7376 GB, free: 115.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/1.041, allocations: 69.02 kB / 0.7377 GB, free: 115.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.041, allocations: 3.938 kB / 0.7377 GB, free: 115.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003211/1.041, allocations: 253.1 kB / 0.7379 GB, free: 115.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.041, allocations: 8 kB / 0.7379 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.041, allocations: 4.656 kB / 0.7379 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.041, allocations: 8 kB / 0.7379 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/1.042, allocations: 99.88 kB / 0.738 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002244/1.042, allocations: 0.5899 MB / 0.7386 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/1.042, allocations: 19.86 kB / 0.7386 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/1.042, allocations: 20 kB / 0.7386 GB, free: 114.7 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.0001081/1.042, allocations: 152.1 kB / 0.7388 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/1.042, allocations: 16 kB / 0.7388 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/1.043, allocations: 234.8 kB / 0.739 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.043, allocations: 0 / 0.739 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/1.043, allocations: 4.031 kB / 0.739 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.043, allocations: 0 / 0.739 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/1.043, allocations: 225.5 kB / 0.7392 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.043, allocations: 0 / 0.7392 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/1.043, allocations: 51.95 kB / 0.7393 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.043, allocations: 4 kB / 0.7393 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.043, allocations: 7.938 kB / 0.7393 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001582/1.044, allocations: 0.586 MB / 0.7399 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.044, allocations: 0 / 0.7399 GB, free: 113.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.044, allocations: 143.5 kB / 0.74 GB, free: 113.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/1.044, allocations: 120.9 kB / 0.7401 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/1.044, allocations: 7.953 kB / 0.7401 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.044, allocations: 4 kB / 0.7401 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/1.044, allocations: 16.02 kB / 0.7401 GB, free: 113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/1.044, allocations: 8 kB / 0.7401 GB, free: 113 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.352e-05/1.044, allocations: 131.2 kB / 0.7403 GB, free: 112.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.044, allocations: 0 / 0.7403 GB, free: 112.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005348/1.045, allocations: 139.9 kB / 0.7404 GB, free: 112.8 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.0007334/1.045, allocations: 0.9093 MB / 0.7413 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/1.046, allocations: 148.6 kB / 0.7414 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.046, allocations: 384 / 0.7414 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.046, allocations: 43.97 kB / 0.7415 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/1.046, allocations: 24.17 kB / 0.7415 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/1.072, allocations: 15.87 MB / 0.757 GB, free: 95.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/1.072, allocations: 0.7245 MB / 0.7577 GB, free: 94.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002846/1.072, allocations: 61.73 kB / 0.7578 GB, free: 94.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/1.072, allocations: 55.39 kB / 0.7578 GB, free: 94.68 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/1.072, allocations: 0 / 0.7578 GB, free: 94.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/1.091, allocations: 5.392 MB / 0.7631 GB, free: 89.53 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.091, allocations: 273.5 kB / 0.7633 GB, free: 89.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.973, allocations: 0 / 0.7633 GB, free: 89.17 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat