Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",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.001594/0.001594, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 96.86 kB / 281.6 MB, free: 5.262 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.2277/0.2277, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.953e-05, allocations: 8.203 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.75/15.91, allocations: 5.757 GB / 6.252 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/15.91, allocations: 77.44 kB / 6.252 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.6/18.51, allocations: 0.5083 GB / 6.76 GB, free: 101.3 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.614e-06/18.51, allocations: 0 / 6.76 GB, free: 101.3 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 5.881e-06/18.51, allocations: 5.984 kB / 6.76 GB, free: 101.3 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01642/18.53, allocations: 0.6364 MB / 6.761 GB, free: 100.9 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 7.447e-05/18.53, allocations: 14.11 kB / 6.761 GB, free: 100.9 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/18.53, allocations: 14.48 kB / 6.761 GB, free: 100.9 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/18.53, allocations: 171.5 kB / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/18.53, allocations: 3.5 kB / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/18.53, allocations: 3.312 kB / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001832/18.53, allocations: 69.5 kB / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/18.53, allocations: 75.09 kB / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/18.53, allocations: 5.016 kB / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/18.53, allocations: 0 / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/18.53, allocations: 0 / 6.761 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/18.53, allocations: 301 kB / 6.762 GB, free: 100.4 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/18.53, allocations: 43.39 kB / 6.762 GB, free: 100.4 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/18.53, allocations: 32.7 kB / 6.762 GB, free: 100.4 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003634/18.54, allocations: 2.581 MB / 6.764 GB, free: 98.58 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/18.54, allocations: 30.56 kB / 6.764 GB, free: 98.54 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/18.54, allocations: 4 kB / 6.764 GB, free: 98.54 MB / 0.5418 GB Notification: Performance of matching and sorting (n=9): time 0.0002806/18.54, allocations: 83.34 kB / 6.764 GB, free: 98.51 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/18.54, allocations: 51.41 kB / 6.764 GB, free: 98.45 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.57e-05/18.54, allocations: 97.66 kB / 6.764 GB, free: 98.35 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/18.54, allocations: 28.58 kB / 6.765 GB, free: 98.32 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/18.54, allocations: 85.78 kB / 6.765 GB, free: 98.23 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/18.54, allocations: 28.2 kB / 6.765 GB, free: 98.21 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/18.54, allocations: 0 / 6.765 GB, free: 98.21 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/18.54, allocations: 320.2 kB / 6.765 GB, free: 97.9 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/18.54, allocations: 21.84 kB / 6.765 GB, free: 97.9 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/18.54, allocations: 35.28 kB / 6.765 GB, free: 97.88 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.458e-05/18.54, allocations: 26.34 kB / 6.765 GB, free: 97.88 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/18.54, allocations: 3.656 kB / 6.765 GB, free: 97.88 MB / 0.5418 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001714/18.54, allocations: 85.52 kB / 6.765 GB, free: 97.85 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/18.54, allocations: 3.188 kB / 6.765 GB, free: 97.85 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/18.54, allocations: 3.219 kB / 6.765 GB, free: 97.85 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/18.54, allocations: 4 kB / 6.765 GB, free: 97.84 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.988e-05/18.54, allocations: 11.14 kB / 6.765 GB, free: 97.84 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/18.54, allocations: 3.188 kB / 6.765 GB, free: 97.84 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/18.54, allocations: 5.453 kB / 6.765 GB, free: 97.84 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/18.54, allocations: 7.266 kB / 6.765 GB, free: 97.84 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.602e-05/18.54, allocations: 104.7 kB / 6.765 GB, free: 97.73 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001898/18.54, allocations: 85.38 kB / 6.765 GB, free: 97.7 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/18.54, allocations: 3.906 kB / 6.765 GB, free: 97.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/18.54, allocations: 147.6 kB / 6.765 GB, free: 97.65 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001634/18.54, allocations: 107.4 kB / 6.766 GB, free: 97.62 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/18.54, allocations: 7.234 kB / 6.766 GB, free: 97.61 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/18.54, allocations: 2.438 kB / 6.766 GB, free: 97.61 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/18.54, allocations: 404.9 kB / 6.766 GB, free: 97.34 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/18.54, allocations: 4 kB / 6.766 GB, free: 97.34 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/18.54, allocations: 16 kB / 6.766 GB, free: 97.34 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/18.54, allocations: 3.953 kB / 6.766 GB, free: 97.33 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/18.54, allocations: 6.156 kB / 6.766 GB, free: 97.33 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/18.54, allocations: 0 / 6.766 GB, free: 97.33 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/18.54, allocations: 0 / 6.766 GB, free: 97.33 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/18.54, allocations: 211.3 kB / 6.766 GB, free: 97.2 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/18.54, allocations: 86.42 kB / 6.766 GB, free: 97.11 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/18.54, allocations: 8.234 kB / 6.766 GB, free: 97.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/18.54, allocations: 3.188 kB / 6.766 GB, free: 97.1 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/18.54, allocations: 10.64 kB / 6.766 GB, free: 97.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/18.54, allocations: 7.125 kB / 6.766 GB, free: 97.09 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 2.031e-05/18.54, allocations: 78.66 kB / 6.766 GB, free: 97.02 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.3e-07/18.54, allocations: 0 / 6.766 GB, free: 97.02 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007873/18.55, allocations: 377.9 kB / 6.767 GB, free: 96.95 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04978/18.6, allocations: 8.94 MB / 6.775 GB, free: 92.2 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0003127/18.6, allocations: 112.7 kB / 6.776 GB, free: 92.16 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/18.6, allocations: 0 / 6.776 GB, free: 92.16 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/18.6, allocations: 47.52 kB / 6.776 GB, free: 92.16 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/18.6, allocations: 36.61 kB / 6.776 GB, free: 92.16 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/18.6, allocations: 334.3 kB / 6.776 GB, free: 91.99 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/18.61, allocations: 0.6995 MB / 6.777 GB, free: 91.29 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 9.576e-05/18.61, allocations: 14.86 kB / 6.777 GB, free: 91.29 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/18.61, allocations: 23.88 kB / 6.777 GB, free: 91.28 MB / 0.5418 GB Notification: Performance of SimCode: time 1.443e-06/18.61, allocations: 0 / 6.777 GB, free: 91.28 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/18.65, allocations: 18.9 MB / 6.795 GB, free: 88.88 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/18.65, allocations: 138.9 kB / 6.795 GB, free: 88.69 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/21.17, allocations: 3.844 kB / 6.795 GB, free: 88.69 MB / 0.5418 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat does not exist to compare? outputFormat=mat