Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001858/0.001858, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000988/0.0009882, allocations: 112.3 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4248/0.4248, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003087, allocations: 8 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3897, allocations: 63.25 MB / 0.5193 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.307/9.696, allocations: 3.505 GB / 4.024 GB, free: 56.96 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/9.697, allocations: 72.5 kB / 4.024 GB, free: 56.92 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5834/10.28, allocations: 87.65 MB / 4.11 GB, free: 162.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.195e-06/10.28, allocations: 4.969 kB / 4.11 GB, free: 162.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.196e-05/10.28, allocations: 3.656 kB / 4.11 GB, free: 162.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.004198/10.28, allocations: 1.057 MB / 4.111 GB, free: 161.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/10.28, allocations: 8.312 kB / 4.111 GB, free: 161.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/10.28, allocations: 71.22 kB / 4.111 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/10.29, allocations: 35.06 kB / 4.111 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/10.29, allocations: 249.3 kB / 4.111 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/10.29, allocations: 125.2 kB / 4.111 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/10.29, allocations: 39.73 kB / 4.112 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/10.29, allocations: 0.549 MB / 4.112 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/10.29, allocations: 3.812 kB / 4.112 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/10.29, allocations: 16.03 kB / 4.112 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.004e-05/10.29, allocations: 26.92 kB / 4.112 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/10.29, allocations: 1.247 MB / 4.113 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/10.29, allocations: 1.921 MB / 4.115 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007481/10.29, allocations: 252.2 kB / 4.115 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003541/10.3, allocations: 3.39 MB / 4.119 GB, free: 157 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/10.3, allocations: 37.44 kB / 4.119 GB, free: 157 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/10.3, allocations: 2.281 kB / 4.119 GB, free: 157 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.00243/10.3, allocations: 0.813 MB / 4.12 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/10.3, allocations: 59.62 kB / 4.12 GB, free: 156.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/10.3, allocations: 187.4 kB / 4.12 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/10.3, allocations: 31.95 kB / 4.12 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/10.3, allocations: 194.7 kB / 4.12 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/10.3, allocations: 151.9 kB / 4.12 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/10.3, allocations: 14.47 kB / 4.12 GB, free: 156.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001002/10.3, allocations: 338.8 kB / 4.12 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/10.3, allocations: 100.2 kB / 4.121 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/10.3, allocations: 412.1 kB / 4.121 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/10.3, allocations: 174.3 kB / 4.121 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/10.3, allocations: 4.125 kB / 4.121 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00118/10.3, allocations: 0.5556 MB / 4.122 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/10.3, allocations: 9.469 kB / 4.122 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/10.3, allocations: 10.78 kB / 4.122 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/10.3, allocations: 16.47 kB / 4.122 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000806/10.3, allocations: 208.4 kB / 4.122 GB, free: 155.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005784/10.3, allocations: 1.191 MB / 4.123 GB, free: 154.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/10.3, allocations: 32.75 kB / 4.123 GB, free: 154.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/10.3, allocations: 63.89 kB / 4.123 GB, free: 154.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002367/10.3, allocations: 173.8 kB / 4.123 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/10.3, allocations: 27.91 kB / 4.123 GB, free: 154.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/10.31, allocations: 0.6984 MB / 4.124 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/10.31, allocations: 7.625 kB / 4.124 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/10.31, allocations: 0 / 4.124 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/10.31, allocations: 0 / 4.124 GB, free: 153.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/10.31, allocations: 0.6345 MB / 4.125 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/10.31, allocations: 6.078 kB / 4.125 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/10.31, allocations: 92.58 kB / 4.125 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/10.31, allocations: 3.812 kB / 4.125 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/10.31, allocations: 15.06 kB / 4.125 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003411/10.31, allocations: 1.168 MB / 4.126 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/10.31, allocations: 0 / 4.126 GB, free: 152.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/10.31, allocations: 358.5 kB / 4.126 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/10.31, allocations: 154.7 kB / 4.126 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/10.31, allocations: 6.406 kB / 4.126 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/10.31, allocations: 13.53 kB / 4.126 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/10.31, allocations: 26.16 kB / 4.126 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/10.31, allocations: 14.19 kB / 4.126 GB, free: 152.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001582/10.31, allocations: 177.2 kB / 4.127 GB, free: 152 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/10.31, allocations: 4 kB / 4.127 GB, free: 152 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00261/10.31, allocations: 0.5725 MB / 4.127 GB, free: 151.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (33): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00438/10.32, allocations: 2.114 MB / 4.129 GB, free: 150.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001107/10.32, allocations: 362.9 kB / 4.13 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/10.32, allocations: 0 / 4.13 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/10.32, allocations: 132.6 kB / 4.13 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/10.32, allocations: 87.84 kB / 4.13 GB, free: 150.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1278/10.45, allocations: 62.37 MB / 4.191 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/10.45, allocations: 0.7779 MB / 4.192 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000873/10.45, allocations: 198.8 kB / 4.192 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/10.45, allocations: 131.4 kB / 4.192 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/10.45, allocations: 4 kB / 4.192 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/10.5, allocations: 25.59 MB / 4.217 GB, free: 87.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/10.5, allocations: 239.7 kB / 4.217 GB, free: 87.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/13.76, allocations: 4 kB / 4.217 GB, free: 87.24 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat