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.001535/0.001535, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.22/2.22, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001109/0.001109, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.285/0.285, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.623e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.07/11.19, allocations: 3.57 GB / 4.043 GB, free: 61.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/11.19, allocations: 79.11 kB / 4.043 GB, free: 61.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8001/11.99, allocations: 106.8 MB / 4.147 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/11.99, allocations: 0 / 4.147 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.695e-05/11.99, allocations: 3.906 kB / 4.147 GB, free: 138.6 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.004725/12, allocations: 1.117 MB / 4.148 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/12, allocations: 15 kB / 4.148 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/12, allocations: 76.89 kB / 4.148 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/12, allocations: 38.3 kB / 4.148 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/12, allocations: 247.3 kB / 4.149 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/12, allocations: 128.9 kB / 4.149 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/12, allocations: 29.88 kB / 4.149 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/12, allocations: 0.5554 MB / 4.149 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/12, allocations: 0 / 4.149 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/12, allocations: 14.58 kB / 4.149 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-05/12, allocations: 37.67 kB / 4.149 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/12, allocations: 1.25 MB / 4.151 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/12.01, allocations: 1.931 MB / 4.152 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/12.01, allocations: 260.1 kB / 4.153 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/12.01, allocations: 120.1 kB / 4.153 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004921/12.01, allocations: 3.427 MB / 4.156 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/12.01, allocations: 42.31 kB / 4.156 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 4.278e-06/12.01, allocations: 2.719 kB / 4.156 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.002747/12.01, allocations: 0.6772 MB / 4.157 GB, free: 133 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/12.01, allocations: 61.72 kB / 4.157 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/12.01, allocations: 177.1 kB / 4.157 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/12.01, allocations: 37.33 kB / 4.157 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/12.01, allocations: 262.4 kB / 4.157 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/12.02, allocations: 150.8 kB / 4.158 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/12.02, allocations: 8 kB / 4.158 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/12.02, allocations: 340.5 kB / 4.158 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/12.02, allocations: 102.1 kB / 4.158 GB, free: 132 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/12.02, allocations: 407.6 kB / 4.158 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/12.02, allocations: 174.3 kB / 4.159 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/12.02, allocations: 14.64 kB / 4.159 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001471/12.02, allocations: 0.5602 MB / 4.159 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/12.02, allocations: 9.375 kB / 4.159 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/12.02, allocations: 10.22 kB / 4.159 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.537e-05/12.02, allocations: 15.44 kB / 4.159 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/12.02, allocations: 211.5 kB / 4.159 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000592/12.02, allocations: 1.196 MB / 4.16 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006954/12.02, allocations: 35.08 kB / 4.161 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/12.02, allocations: 78.55 kB / 4.161 GB, free: 130.2 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 () * 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.0002119/12.02, allocations: 141.1 kB / 4.161 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/12.02, allocations: 27 kB / 4.161 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/12.02, allocations: 0.6899 MB / 4.161 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/12.02, allocations: 7.766 kB / 4.161 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/12.02, allocations: 0 / 4.161 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/12.02, allocations: 6.188 kB / 4.161 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/12.03, allocations: 0.639 MB / 4.162 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/12.03, allocations: 4 kB / 4.162 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008404/12.03, allocations: 92.89 kB / 4.162 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/12.03, allocations: 4.344 kB / 4.162 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/12.03, allocations: 10.33 kB / 4.162 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004691/12.03, allocations: 1.167 MB / 4.163 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/12.03, allocations: 3.953 kB / 4.163 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/12.03, allocations: 348.3 kB / 4.164 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/12.03, allocations: 158.6 kB / 4.164 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/12.03, allocations: 7.844 kB / 4.164 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/12.03, allocations: 14.8 kB / 4.164 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/12.03, allocations: 18.81 kB / 4.164 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/12.03, allocations: 11.41 kB / 4.164 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000273/12.03, allocations: 182.2 kB / 4.164 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.52e-07/12.03, allocations: 2.375 kB / 4.164 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00304/12.03, allocations: 0.643 MB / 4.165 GB, free: 127.3 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 () * 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.006077/12.04, allocations: 2.268 MB / 4.167 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001492/12.04, allocations: 357.9 kB / 4.167 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/12.04, allocations: 0.75 kB / 4.167 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006084/12.04, allocations: 134.5 kB / 4.167 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009434/12.04, allocations: 72.47 kB / 4.167 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2514/12.29, allocations: 66.31 MB / 4.232 GB, free: 67.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/12.29, allocations: 0.7738 MB / 4.233 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006709/12.29, allocations: 151.3 kB / 4.233 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of SimCode: time 2.695e-06/12.29, allocations: 0 / 4.233 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.584/15.88, allocations: 19.09 MB / 4.252 GB, free: 47.35 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