Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001636, allocations: 184.6 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 76.52 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5274/0.5274, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004668, allocations: 12 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.14/11.27, allocations: 3.57 GB / 4.049 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/11.27, allocations: 70 kB / 4.049 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8087/12.08, allocations: 107.1 MB / 4.153 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/12.08, allocations: 4 kB / 4.153 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.772e-05/12.08, allocations: 4.969 kB / 4.153 GB, free: 125.9 MB / 0.4948 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.004715/12.09, allocations: 1.134 MB / 4.155 GB, free: 125 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/12.09, allocations: 27.3 kB / 4.155 GB, free: 125 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/12.09, allocations: 70.12 kB / 4.155 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/12.09, allocations: 32.06 kB / 4.155 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/12.09, allocations: 254.7 kB / 4.155 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/12.09, allocations: 134.5 kB / 4.155 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/12.09, allocations: 27.25 kB / 4.155 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/12.09, allocations: 0.564 MB / 4.156 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/12.09, allocations: 0 / 4.156 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/12.09, allocations: 23.77 kB / 4.156 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/12.09, allocations: 20.17 kB / 4.156 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/12.09, allocations: 1.263 MB / 4.157 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/12.1, allocations: 1.922 MB / 4.159 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/12.1, allocations: 270.1 kB / 4.159 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004585/12.1, allocations: 3.293 MB / 4.162 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/12.1, allocations: 41.97 kB / 4.162 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.995e-06/12.1, allocations: 0 / 4.162 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.002856/12.1, allocations: 0.823 MB / 4.163 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/12.1, allocations: 60.27 kB / 4.163 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/12.11, allocations: 202.2 kB / 4.163 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/12.11, allocations: 37.52 kB / 4.163 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/12.11, allocations: 252.4 kB / 4.164 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/12.11, allocations: 158 kB / 4.164 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/12.11, allocations: 11 kB / 4.164 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.709e-05/12.11, allocations: 337.1 kB / 4.164 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/12.11, allocations: 108 kB / 4.164 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/12.11, allocations: 413.9 kB / 4.165 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/12.11, allocations: 177.2 kB / 4.165 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/12.11, allocations: 3.969 kB / 4.165 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00144/12.11, allocations: 0.5659 MB / 4.165 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/12.11, allocations: 7.938 kB / 4.165 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/12.11, allocations: 11.38 kB / 4.165 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/12.11, allocations: 18.84 kB / 4.165 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/12.11, allocations: 207.2 kB / 4.166 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005971/12.11, allocations: 1.193 MB / 4.167 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/12.11, allocations: 25.98 kB / 4.167 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/12.11, allocations: 73.84 kB / 4.167 GB, free: 114.8 MB / 0.4948 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.0002808/12.11, allocations: 186.3 kB / 4.167 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/12.11, allocations: 25.03 kB / 4.167 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/12.11, allocations: 0.6957 MB / 4.168 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/12.11, allocations: 3.938 kB / 4.168 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-06/12.11, allocations: 3.719 kB / 4.168 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/12.11, allocations: 7.984 kB / 4.168 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/12.12, allocations: 0.6335 MB / 4.168 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/12.12, allocations: 3.984 kB / 4.168 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/12.12, allocations: 86.91 kB / 4.168 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/12.12, allocations: 7.188 kB / 4.168 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/12.12, allocations: 8.312 kB / 4.168 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004323/12.12, allocations: 1.172 MB / 4.17 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/12.12, allocations: 0 / 4.17 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/12.12, allocations: 360.2 kB / 4.17 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/12.12, allocations: 156.6 kB / 4.17 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/12.12, allocations: 4 kB / 4.17 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/12.12, allocations: 17.66 kB / 4.17 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/12.12, allocations: 21.69 kB / 4.17 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/12.12, allocations: 16.05 kB / 4.17 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002634/12.12, allocations: 180.9 kB / 4.17 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/12.12, allocations: 0 / 4.17 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002956/12.12, allocations: 0.6485 MB / 4.171 GB, free: 111.5 MB / 0.4948 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.005296/12.13, allocations: 2.261 MB / 4.173 GB, free: 110 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001498/12.13, allocations: 366.3 kB / 4.173 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/12.13, allocations: 0 / 4.173 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005642/12.13, allocations: 133.8 kB / 4.174 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/12.13, allocations: 84.22 kB / 4.174 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2579/12.39, allocations: 74.91 MB / 4.247 GB, free: 35.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/12.39, allocations: 0.7701 MB / 4.248 GB, free: 34.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/12.39, allocations: 155.3 kB / 4.248 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/12.39, allocations: 0 / 4.248 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.327/15.72, allocations: 19.04 MB / 4.266 GB, free: 15.28 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat