Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.0009269/0.000927, allocations: 100.9 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 45.92 MB / 344.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 63.46 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01334/0.1483, allocations: 7.801 MB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.1631, allocations: 10.19 MB / 499.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.1632, allocations: 0 / 499.6 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.1635, allocations: 31.81 kB / 499.7 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.1695, allocations: 1.381 MB / 0.4893 GB, free: 1.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.217e-06/0.1696, allocations: 0 / 0.4893 GB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1697, allocations: 43.67 kB / 0.4893 GB, free: 1.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.1698, allocations: 4 kB / 0.4893 GB, free: 1.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1699, allocations: 23.91 kB / 0.4894 GB, free: 1.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.17, allocations: 15.94 kB / 0.4894 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.17, allocations: 3.938 kB / 0.4894 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3077/0.4777, allocations: 19.57 MB / 0.5085 GB, free: 23.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.4778, allocations: 5.484 kB / 0.5085 GB, free: 23.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.4779, allocations: 31.08 kB / 0.5085 GB, free: 23.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.4902, allocations: 4.292 MB / 0.5127 GB, free: 23.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.4903, allocations: 2.344 kB / 0.5127 GB, free: 23.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4903, allocations: 0 / 0.5127 GB, free: 23.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4903, allocations: 0 / 0.5127 GB, free: 23.73 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.009533/0.4998, allocations: 0.5483 MB / 0.5133 GB, free: 23.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.4999, allocations: 9.625 kB / 0.5133 GB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.5, allocations: 37.34 kB / 0.5133 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.5001, allocations: 16.23 kB / 0.5133 GB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.5002, allocations: 169.1 kB / 0.5135 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5002, allocations: 4.562 kB / 0.5135 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.5002, allocations: 7.25 kB / 0.5135 GB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.5004, allocations: 76.59 kB / 0.5136 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5005, allocations: 4.609 kB / 0.5136 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5005, allocations: 2.406 kB / 0.5136 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.5005, allocations: 2.469 kB / 0.5136 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.5006, allocations: 78.52 kB / 0.5136 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.5011, allocations: 311.7 kB / 0.5139 GB, free: 22.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.5012, allocations: 45.86 kB / 0.514 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.5012, allocations: 33.84 kB / 0.514 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003028/0.5043, allocations: 1.831 MB / 0.5158 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.5043, allocations: 35.98 kB / 0.5158 GB, free: 21.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.334e-06/0.5043, allocations: 0 / 0.5158 GB, free: 21.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002769/0.5046, allocations: 107.7 kB / 0.5159 GB, free: 21.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.5046, allocations: 53.86 kB / 0.516 GB, free: 21.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.5047, allocations: 98.2 kB / 0.5161 GB, free: 21.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.5047, allocations: 25.7 kB / 0.5161 GB, free: 21.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.5047, allocations: 85.98 kB / 0.5162 GB, free: 21.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.5048, allocations: 30.52 kB / 0.5162 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5048, allocations: 2 kB / 0.5162 GB, free: 21.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.5048, allocations: 319.8 kB / 0.5165 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.5049, allocations: 21.06 kB / 0.5166 GB, free: 20.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.5049, allocations: 37.62 kB / 0.5166 GB, free: 20.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.505, allocations: 25.27 kB / 0.5166 GB, free: 20.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.505, allocations: 0 / 0.5166 GB, free: 20.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/0.5051, allocations: 97.61 kB / 0.5167 GB, free: 20.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5052, allocations: 7.859 kB / 0.5167 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5052, allocations: 0.625 kB / 0.5167 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5052, allocations: 1.188 kB / 0.5167 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.5053, allocations: 10.41 kB / 0.5167 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5053, allocations: 2.625 kB / 0.5167 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.5053, allocations: 9.094 kB / 0.5167 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.5054, allocations: 4.344 kB / 0.5167 GB, free: 20.64 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.091e-05/0.5054, allocations: 110.4 kB / 0.5168 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.5055, allocations: 10.36 kB / 0.5169 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.5057, allocations: 153 kB / 0.517 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001441/0.5059, allocations: 116.7 kB / 0.5171 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5059, allocations: 0.7031 kB / 0.5171 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5059, allocations: 0.6094 kB / 0.5171 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.5063, allocations: 435.4 kB / 0.5175 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5063, allocations: 0.6094 kB / 0.5175 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.5064, allocations: 14.98 kB / 0.5175 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.5064, allocations: 0.75 kB / 0.5175 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.5064, allocations: 5.812 kB / 0.5175 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5064, allocations: 0 / 0.5175 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5064, allocations: 7.406 kB / 0.5176 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.5066, allocations: 225.5 kB / 0.5178 GB, free: 19.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.251e-05/0.5067, allocations: 86.55 kB / 0.5179 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5067, allocations: 0.5625 kB / 0.5179 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.5067, allocations: 1.125 kB / 0.5179 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.5068, allocations: 13.34 kB / 0.5179 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.5068, allocations: 2.797 kB / 0.5179 GB, free: 19.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.482e-05/0.5068, allocations: 76.53 kB / 0.5179 GB, free: 19.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5068, allocations: 0 / 0.5179 GB, free: 19.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004172/0.511, allocations: 350.8 kB / 0.5183 GB, free: 19.76 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.02361/0.5346, allocations: 4.379 MB / 0.5226 GB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.5349, allocations: 110.8 kB / 0.5227 GB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5349, allocations: 2.719 kB / 0.5227 GB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.535, allocations: 50.78 kB / 0.5227 GB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.5355, allocations: 47.7 kB / 0.5228 GB, free: 17.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.5393, allocations: 419.6 kB / 0.5232 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.5394, allocations: 0.6955 MB / 0.5238 GB, free: 16.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.5395, allocations: 13.47 kB / 0.5238 GB, free: 16.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.5395, allocations: 24.66 kB / 0.5239 GB, free: 16.31 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5395, allocations: 0 / 0.5239 GB, free: 16.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.5758, allocations: 19.44 MB / 0.5429 GB, free: 5.754 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001228/0.5759, allocations: 193.3 kB / 0.543 GB, free: 5.504 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/3.326, allocations: 0 / 0.543 GB, free: 5.504 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat does not exist to compare? outputFormat=mat