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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 94.17 kB / 17 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 186.7 kB / 17.89 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 241.9 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003195, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.112, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01082/0.1228, allocations: 7.753 MB / 479.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1349, allocations: 10.17 MB / 489.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.135, allocations: 0 / 489.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.1353, allocations: 31.86 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004988/0.1403, allocations: 1.358 MB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.452e-06/0.1403, allocations: 4 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.1404, allocations: 43.67 kB / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.1404, allocations: 0 / 491 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1406, allocations: 35.84 kB / 491 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.695e-05/0.1406, allocations: 15.94 kB / 491.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1406, allocations: 4 kB / 491.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02402/0.1646, allocations: 19.56 MB / 0.4987 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.1647, allocations: 7.984 kB / 0.4987 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.1647, allocations: 37.62 kB / 0.4987 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009454/0.1742, allocations: 4.269 MB / 0.5029 GB, free: 2.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1742, allocations: 4 kB / 0.5029 GB, free: 2.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1743, allocations: 3.938 kB / 0.5029 GB, free: 2.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1743, allocations: 0 / 0.5029 GB, free: 2.277 MB / 382.1 MB 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.002391/0.1767, allocations: 0.5536 MB / 0.5034 GB, free: 1.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1767, allocations: 8.031 kB / 0.5034 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.1767, allocations: 42.5 kB / 0.5035 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1769, allocations: 11.98 kB / 0.5035 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.1769, allocations: 167 kB / 0.5036 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.177, allocations: 4 kB / 0.5036 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.177, allocations: 0 / 0.5036 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1771, allocations: 77.67 kB / 0.5037 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1771, allocations: 0 / 0.5037 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1772, allocations: 0 / 0.5037 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1772, allocations: 7.953 kB / 0.5037 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.1773, allocations: 71.95 kB / 0.5038 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.1777, allocations: 316.7 kB / 0.5041 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.621e-05/0.1778, allocations: 50.5 kB / 0.5041 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.1778, allocations: 28.92 kB / 0.5042 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2117/0.3895, allocations: 1.685 MB / 0.5058 GB, free: 47.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3896, allocations: 33.75 kB / 0.5058 GB, free: 47.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.104e-06/0.3896, allocations: 0 / 0.5058 GB, free: 47.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003332/0.3899, allocations: 108.7 kB / 0.5059 GB, free: 47.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.3899, allocations: 53 kB / 0.506 GB, free: 47.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/0.39, allocations: 95.38 kB / 0.5061 GB, free: 47.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.39, allocations: 26.95 kB / 0.5061 GB, free: 47.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.3901, allocations: 92.81 kB / 0.5062 GB, free: 47.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3901, allocations: 27.52 kB / 0.5062 GB, free: 47.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.3901, allocations: 3.531 kB / 0.5062 GB, free: 47.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.3902, allocations: 318.6 kB / 0.5065 GB, free: 46.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.3902, allocations: 20.77 kB / 0.5066 GB, free: 46.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.064e-05/0.3903, allocations: 37.5 kB / 0.5066 GB, free: 46.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.778e-05/0.3903, allocations: 26.05 kB / 0.5066 GB, free: 46.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3903, allocations: 0.8125 kB / 0.5066 GB, free: 46.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001579/0.3905, allocations: 93.75 kB / 0.5067 GB, free: 46.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3905, allocations: 6.188 kB / 0.5067 GB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3905, allocations: 0 / 0.5067 GB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3905, allocations: 1.344 kB / 0.5067 GB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.3906, allocations: 13.12 kB / 0.5067 GB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3906, allocations: 0.7188 kB / 0.5067 GB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.3907, allocations: 9.328 kB / 0.5067 GB, free: 46.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3907, allocations: 3.438 kB / 0.5067 GB, free: 46.93 MB / 382.1 MB 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.333e-05/0.3908, allocations: 117.9 kB / 0.5069 GB, free: 46.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.3908, allocations: 4.359 kB / 0.5069 GB, free: 46.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.3911, allocations: 155.4 kB / 0.507 GB, free: 46.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/0.3912, allocations: 113.5 kB / 0.5071 GB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3912, allocations: 1 kB / 0.5071 GB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3912, allocations: 9.156 kB / 0.5071 GB, free: 46.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.3917, allocations: 434.2 kB / 0.5075 GB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3917, allocations: 1 kB / 0.5075 GB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.3917, allocations: 18.64 kB / 0.5076 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3917, allocations: 1.75 kB / 0.5076 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3918, allocations: 5.062 kB / 0.5076 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3918, allocations: 1.312 kB / 0.5076 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3918, allocations: 1.75 kB / 0.5076 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.392, allocations: 217 kB / 0.5078 GB, free: 46.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.392, allocations: 87.69 kB / 0.5079 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.392, allocations: 5.625 kB / 0.5079 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/0.3921, allocations: 5.828 kB / 0.5079 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.3921, allocations: 7.234 kB / 0.5079 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.3921, allocations: 6.875 kB / 0.5079 GB, free: 46.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.553e-05/0.3921, allocations: 81.44 kB / 0.508 GB, free: 46.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3921, allocations: 1.375 kB / 0.508 GB, free: 46.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001725/0.3939, allocations: 339.1 kB / 0.5083 GB, free: 46.09 MB / 382.1 MB 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.01802/0.4119, allocations: 4.373 MB / 0.5126 GB, free: 43.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.4122, allocations: 104 kB / 0.5126 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4122, allocations: 0.6875 kB / 0.5127 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.4123, allocations: 55.34 kB / 0.5127 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.4128, allocations: 42.33 kB / 0.5127 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.415, allocations: 423.4 kB / 0.5131 GB, free: 43.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.4151, allocations: 0.6941 MB / 0.5138 GB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.212e-05/0.4152, allocations: 16.3 kB / 0.5138 GB, free: 42.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.4153, allocations: 24.19 kB / 0.5139 GB, free: 42.74 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4153, allocations: 0 / 0.5139 GB, free: 42.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.4561, allocations: 19.31 MB / 0.5327 GB, free: 31.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.4563, allocations: 202.7 kB / 0.5329 GB, free: 31.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.216, allocations: 0 / 0.5329 GB, free: 31.7 MB / 382.1 MB (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