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.001467/0.001467, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.611/1.611, allocations: 223.2 MB / 241 MB, free: 10.15 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.001092/0.001091, allocations: 99.95 kB / 292.1 MB, free: 10.69 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.4527/0.4527, allocations: 44.22 MB / 387.5 MB, free: 38.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004685, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4785/0.479, allocations: 61.89 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.64/14.11, allocations: 5.758 GB / 6.268 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/14.12, allocations: 73.88 kB / 6.268 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.227/16.34, allocations: 0.5185 GB / 6.786 GB, free: 61.02 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.667e-06/16.34, allocations: 2.078 kB / 6.786 GB, free: 61.02 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 9.387e-06/16.34, allocations: 0 / 6.786 GB, free: 61.02 MB / 0.5262 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.01547/16.36, allocations: 0.6391 MB / 6.787 GB, free: 60.42 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/16.36, allocations: 16.03 kB / 6.787 GB, free: 60.41 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/16.36, allocations: 39.34 kB / 6.787 GB, free: 60.37 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/16.36, allocations: 14.3 kB / 6.787 GB, free: 60.36 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/16.36, allocations: 168 kB / 6.787 GB, free: 60.16 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/16.36, allocations: 2.344 kB / 6.787 GB, free: 60.16 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/16.36, allocations: 4 kB / 6.787 GB, free: 60.15 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/16.36, allocations: 74.55 kB / 6.787 GB, free: 60.1 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/16.36, allocations: 0 / 6.787 GB, free: 60.1 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/16.36, allocations: 6.938 kB / 6.787 GB, free: 60.1 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/16.36, allocations: 3.797 kB / 6.787 GB, free: 60.1 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/16.36, allocations: 81.95 kB / 6.787 GB, free: 60.05 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/16.36, allocations: 318.3 kB / 6.787 GB, free: 59.75 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/16.36, allocations: 40.38 kB / 6.787 GB, free: 59.72 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003479/16.36, allocations: 2.519 MB / 6.79 GB, free: 57.25 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/16.36, allocations: 36.75 kB / 6.79 GB, free: 57.2 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/16.36, allocations: 0 / 6.79 GB, free: 57.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0003037/16.36, allocations: 192.9 kB / 6.79 GB, free: 57.03 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/16.36, allocations: 51.41 kB / 6.79 GB, free: 56.96 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/16.36, allocations: 96.72 kB / 6.79 GB, free: 56.87 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/16.36, allocations: 25.7 kB / 6.79 GB, free: 56.84 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/16.36, allocations: 86.2 kB / 6.79 GB, free: 56.75 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/16.36, allocations: 26.25 kB / 6.79 GB, free: 56.73 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/16.36, allocations: 6.812 kB / 6.79 GB, free: 56.73 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.478e-05/16.36, allocations: 322.5 kB / 6.791 GB, free: 56.41 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/16.36, allocations: 18.19 kB / 6.791 GB, free: 56.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/16.36, allocations: 32.75 kB / 6.791 GB, free: 56.38 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/16.36, allocations: 25.88 kB / 6.791 GB, free: 56.36 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/16.36, allocations: 0 / 6.791 GB, free: 56.36 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000155/16.36, allocations: 90.52 kB / 6.791 GB, free: 56.3 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/16.36, allocations: 4 kB / 6.791 GB, free: 56.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/16.36, allocations: 4.031 kB / 6.791 GB, free: 56.29 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/16.36, allocations: 4 kB / 6.791 GB, free: 56.29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/16.36, allocations: 14.73 kB / 6.791 GB, free: 56.28 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/16.36, allocations: 7.234 kB / 6.791 GB, free: 56.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/16.36, allocations: 3.906 kB / 6.791 GB, free: 56.27 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/16.36, allocations: 7.938 kB / 6.791 GB, free: 56.26 MB / 0.5262 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 () * Number of clocked 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 6.653e-05/16.36, allocations: 110.9 kB / 6.791 GB, free: 56.15 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/16.36, allocations: 4 kB / 6.791 GB, free: 56.14 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/16.36, allocations: 154.1 kB / 6.791 GB, free: 56.05 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/16.36, allocations: 116.7 kB / 6.791 GB, free: 55.97 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/16.36, allocations: 0 / 6.791 GB, free: 55.97 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/16.36, allocations: 7.953 kB / 6.791 GB, free: 55.96 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/16.36, allocations: 433.5 kB / 6.792 GB, free: 55.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/16.36, allocations: 7.281 kB / 6.792 GB, free: 55.58 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/16.36, allocations: 12 kB / 6.792 GB, free: 55.57 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/16.36, allocations: 3.953 kB / 6.792 GB, free: 55.56 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/16.36, allocations: 11.28 kB / 6.792 GB, free: 55.56 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/16.36, allocations: 0 / 6.792 GB, free: 55.56 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/16.36, allocations: 0 / 6.792 GB, free: 55.56 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/16.36, allocations: 218.7 kB / 6.792 GB, free: 55.37 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/16.36, allocations: 82 kB / 6.792 GB, free: 55.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/16.36, allocations: 15.59 kB / 6.792 GB, free: 55.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/16.36, allocations: 4 kB / 6.792 GB, free: 55.26 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/16.36, allocations: 4 kB / 6.792 GB, free: 55.26 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/16.36, allocations: 0 / 6.792 GB, free: 55.26 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.91e-05/16.36, allocations: 82.8 kB / 6.792 GB, free: 55.18 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.1e-07/16.36, allocations: 0 / 6.792 GB, free: 55.18 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.006368/16.37, allocations: 388 kB / 6.793 GB, free: 54.86 MB / 0.5262 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 () * Number of clocked 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.04695/16.42, allocations: 8.921 MB / 6.801 GB, free: 46.24 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002736/16.42, allocations: 112.5 kB / 6.801 GB, free: 46.16 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/16.42, allocations: 4 kB / 6.801 GB, free: 46.16 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/16.42, allocations: 59.77 kB / 6.801 GB, free: 46.13 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/16.42, allocations: 35.36 kB / 6.801 GB, free: 46.11 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/16.42, allocations: 471.8 kB / 6.802 GB, free: 45.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/16.42, allocations: 0.6956 MB / 6.803 GB, free: 44.99 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 8.169e-05/16.42, allocations: 20.11 kB / 6.803 GB, free: 44.97 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/16.42, allocations: 22.69 kB / 6.803 GB, free: 44.96 MB / 0.5262 GB Notification: Performance of SimCode: time 1.102e-06/16.42, allocations: 0 / 6.803 GB, free: 44.96 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/16.46, allocations: 20.61 MB / 6.823 GB, free: 30.39 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/16.46, allocations: 189 kB / 6.823 GB, free: 30.14 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/19.01, allocations: 0 / 6.823 GB, free: 30.14 MB / 0.5262 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