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.0009269/0.0009269, allocations: 100.2 kB / 16.98 MB, free: 5.938 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.0008901/0.0008901, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.408/1.408, allocations: 223.2 MB / 241.8 MB, free: 388 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.2347/0.2347, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1046, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.008595/0.1133, allocations: 7.431 MB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00978/0.1231, allocations: 9.291 MB / 488.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.1231, allocations: 0 / 488.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1233, allocations: 39.84 kB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.1272, allocations: 1.405 MB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.366e-06/0.1273, allocations: 0 / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.1273, allocations: 31.94 kB / 489.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1274, allocations: 11.94 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1275, allocations: 31.91 kB / 489.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.1276, allocations: 15.92 kB / 489.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-06/0.1276, allocations: 0 / 489.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02579/0.1534, allocations: 25.07 MB / 0.5028 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.1534, allocations: 3.984 kB / 0.5028 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.1535, allocations: 29.7 kB / 0.5028 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2194/0.3729, allocations: 4.243 MB / 0.507 GB, free: 29.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.373, allocations: 0.7812 kB / 0.507 GB, free: 29.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.373, allocations: 1.219 kB / 0.507 GB, free: 29.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.373, allocations: 0.5938 kB / 0.507 GB, free: 29.88 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.004351/0.3773, allocations: 0.5437 MB / 0.5075 GB, free: 29.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3774, allocations: 9.156 kB / 0.5075 GB, free: 29.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.3774, allocations: 38.67 kB / 0.5075 GB, free: 29.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.3776, allocations: 14.45 kB / 0.5076 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.71e-05/0.3776, allocations: 166.4 kB / 0.5077 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3777, allocations: 2.031 kB / 0.5077 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3777, allocations: 5.969 kB / 0.5077 GB, free: 29.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3778, allocations: 80.92 kB / 0.5078 GB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.3778, allocations: 0 / 0.5078 GB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3779, allocations: 3.812 kB / 0.5078 GB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.3779, allocations: 1.672 kB / 0.5078 GB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.378, allocations: 72.95 kB / 0.5079 GB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.3784, allocations: 320.6 kB / 0.5082 GB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.3785, allocations: 47.28 kB / 0.5082 GB, free: 28.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00262/0.3811, allocations: 1.687 MB / 0.5099 GB, free: 27.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3811, allocations: 39.22 kB / 0.5099 GB, free: 27.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3811, allocations: 0 / 0.5099 GB, free: 27.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002664/0.3814, allocations: 188.7 kB / 0.5101 GB, free: 27.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.3814, allocations: 57.03 kB / 0.5101 GB, free: 27.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.87e-05/0.3815, allocations: 96.06 kB / 0.5102 GB, free: 27.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.3815, allocations: 26.73 kB / 0.5103 GB, free: 27.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/0.3815, allocations: 86.81 kB / 0.5103 GB, free: 27.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3815, allocations: 32.3 kB / 0.5104 GB, free: 27.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.3816, allocations: 5.5 kB / 0.5104 GB, free: 27.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.3816, allocations: 313.4 kB / 0.5107 GB, free: 26.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.3816, allocations: 19.95 kB / 0.5107 GB, free: 26.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.3817, allocations: 38.72 kB / 0.5107 GB, free: 26.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.3817, allocations: 26.41 kB / 0.5108 GB, free: 26.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3817, allocations: 1.156 kB / 0.5108 GB, free: 26.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001408/0.3819, allocations: 90.66 kB / 0.5108 GB, free: 26.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3819, allocations: 5.344 kB / 0.5109 GB, free: 26.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3819, allocations: 2.281 kB / 0.5109 GB, free: 26.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3819, allocations: 1.719 kB / 0.5109 GB, free: 26.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.382, allocations: 8.938 kB / 0.5109 GB, free: 26.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.382, allocations: 8.25 kB / 0.5109 GB, free: 26.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.33e-05/0.382, allocations: 4.906 kB / 0.5109 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3821, allocations: 10.14 kB / 0.5109 GB, free: 26.77 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 5.303e-05/0.3821, allocations: 112.9 kB / 0.511 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3822, allocations: 6.906 kB / 0.511 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.3824, allocations: 145.4 kB / 0.5111 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000125/0.3825, allocations: 120.4 kB / 0.5113 GB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3826, allocations: 0 / 0.5113 GB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3826, allocations: 5.703 kB / 0.5113 GB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.383, allocations: 436.1 kB / 0.5117 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.383, allocations: 0 / 0.5117 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.383, allocations: 17.95 kB / 0.5117 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.383, allocations: 7.297 kB / 0.5117 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.3831, allocations: 1.922 kB / 0.5117 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3831, allocations: 1.859 kB / 0.5117 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3831, allocations: 0 / 0.5117 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3833, allocations: 220.9 kB / 0.5119 GB, free: 26.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.3833, allocations: 84.77 kB / 0.512 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3833, allocations: 6.609 kB / 0.512 GB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.3834, allocations: 3.219 kB / 0.512 GB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.3834, allocations: 11.14 kB / 0.512 GB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3834, allocations: 2.5 kB / 0.512 GB, free: 26.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.384e-05/0.3834, allocations: 77.53 kB / 0.5121 GB, free: 25.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3834, allocations: 3.938 kB / 0.5121 GB, free: 25.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003396/0.3868, allocations: 347.9 kB / 0.5124 GB, free: 25.89 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.02404/0.4109, allocations: 4.363 MB / 0.5167 GB, free: 23.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.4112, allocations: 110.5 kB / 0.5168 GB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4112, allocations: 0.5938 kB / 0.5168 GB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.4113, allocations: 54.42 kB / 0.5168 GB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.4117, allocations: 36.62 kB / 0.5169 GB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.4148, allocations: 422.3 kB / 0.5173 GB, free: 23.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.4149, allocations: 0.6971 MB / 0.518 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.415, allocations: 10.53 kB / 0.518 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.415, allocations: 26.88 kB / 0.518 GB, free: 22.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.415, allocations: 1.031 kB / 0.518 GB, free: 22.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.4499, allocations: 19.26 MB / 0.5368 GB, free: 15.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.45, allocations: 189.3 kB / 0.537 GB, free: 15.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.09, allocations: 11.88 kB / 0.537 GB, free: 15.39 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