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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001183/0.001182, allocations: 200 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009963/0.0009964, allocations: 98.78 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.179/0.179, allocations: 45.14 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.675e-05, allocations: 4 kB / 453.3 MB, free: 75.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 63.26 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.27/14.39, allocations: 5.758 GB / 6.263 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/14.39, allocations: 71.72 kB / 6.263 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.087/16.48, allocations: 0.5089 GB / 6.772 GB, free: 3.918 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.714e-06/16.48, allocations: 2.734 kB / 6.772 GB, free: 3.918 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 6.252e-06/16.48, allocations: 0 / 6.772 GB, free: 3.918 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.008668/16.49, allocations: 0.6411 MB / 6.772 GB, free: 3.281 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/16.49, allocations: 12.03 kB / 6.772 GB, free: 3.27 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/16.49, allocations: 15.84 kB / 6.772 GB, free: 3.254 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.893e-05/16.49, allocations: 161 kB / 6.773 GB, free: 3.059 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/16.49, allocations: 8 kB / 6.773 GB, free: 3.051 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/16.49, allocations: 0 / 6.773 GB, free: 3.051 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001364/16.49, allocations: 71.97 kB / 6.773 GB, free: 2.98 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/16.49, allocations: 78.97 kB / 6.773 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/16.49, allocations: 0 / 6.773 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/16.49, allocations: 11.89 kB / 6.773 GB, free: 2.887 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/16.49, allocations: 0 / 6.773 GB, free: 2.887 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/16.49, allocations: 287.3 kB / 6.773 GB, free: 2.57 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/16.49, allocations: 42.58 kB / 6.773 GB, free: 2.52 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.013e-05/16.49, allocations: 32.92 kB / 6.773 GB, free: 2.484 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003627/16.49, allocations: 2.703 MB / 6.776 GB, free: 15.42 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/16.49, allocations: 34.56 kB / 6.776 GB, free: 15.38 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/16.49, allocations: 0 / 6.776 GB, free: 15.38 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9): time 0.0003005/16.49, allocations: 81.69 kB / 6.776 GB, free: 15.29 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/16.49, allocations: 51.41 kB / 6.776 GB, free: 15.23 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/16.49, allocations: 92.98 kB / 6.776 GB, free: 15.13 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/16.49, allocations: 29.7 kB / 6.776 GB, free: 15.09 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/16.49, allocations: 86.2 kB / 6.776 GB, free: 15 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/16.49, allocations: 27.56 kB / 6.776 GB, free: 14.98 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/16.49, allocations: 3.938 kB / 6.776 GB, free: 14.98 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001227/16.49, allocations: 322.8 kB / 6.776 GB, free: 14.65 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/16.49, allocations: 20 kB / 6.776 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/16.49, allocations: 29.72 kB / 6.776 GB, free: 14.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/16.49, allocations: 28.11 kB / 6.776 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/16.49, allocations: 0 / 6.776 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/16.49, allocations: 89.61 kB / 6.777 GB, free: 14.48 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/16.49, allocations: 4 kB / 6.777 GB, free: 14.47 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/16.49, allocations: 3.953 kB / 6.777 GB, free: 14.47 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/16.49, allocations: 0 / 6.777 GB, free: 14.47 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/16.49, allocations: 8 kB / 6.777 GB, free: 14.46 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/16.49, allocations: 4 kB / 6.777 GB, free: 14.46 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/16.49, allocations: 3.906 kB / 6.777 GB, free: 14.45 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/16.49, allocations: 8.109 kB / 6.777 GB, free: 14.45 MB / 0.5574 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 6.843e-05/16.49, allocations: 112.9 kB / 6.777 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000192/16.49, allocations: 81.62 kB / 6.777 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/16.49, allocations: 7.953 kB / 6.777 GB, free: 14.23 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/16.49, allocations: 155.9 kB / 6.777 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001807/16.49, allocations: 105.7 kB / 6.777 GB, free: 13.97 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/16.49, allocations: 0 / 6.777 GB, free: 13.97 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/16.49, allocations: 0 / 6.777 GB, free: 13.97 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/16.49, allocations: 409.3 kB / 6.777 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/16.49, allocations: 192 / 6.777 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/16.49, allocations: 19.75 kB / 6.777 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/16.49, allocations: 3.938 kB / 6.777 GB, free: 13.51 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/16.49, allocations: 0 / 6.777 GB, free: 13.51 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/16.49, allocations: 7.984 kB / 6.777 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/16.49, allocations: 0 / 6.777 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/16.5, allocations: 212.6 kB / 6.778 GB, free: 13.28 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/16.5, allocations: 86.98 kB / 6.778 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/16.5, allocations: 0 / 6.778 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/16.5, allocations: 0 / 6.778 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/16.5, allocations: 7.984 kB / 6.778 GB, free: 13.17 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/16.5, allocations: 8 kB / 6.778 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 4.546e-05/16.5, allocations: 79.28 kB / 6.778 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.923e-06/16.5, allocations: 0 / 6.778 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.004583/16.5, allocations: 393.3 kB / 6.778 GB, free: 12.73 MB / 0.5574 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.05084/16.55, allocations: 8.962 MB / 6.787 GB, free: 3.812 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0003541/16.55, allocations: 112.1 kB / 6.787 GB, free: 3.699 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/16.55, allocations: 0 / 6.787 GB, free: 3.699 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/16.55, allocations: 48 kB / 6.787 GB, free: 3.652 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/16.55, allocations: 47.02 kB / 6.787 GB, free: 3.609 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005835/16.56, allocations: 342.3 kB / 6.787 GB, free: 3.27 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/16.56, allocations: 0.6924 MB / 6.788 GB, free: 2.551 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 7.422e-05/16.56, allocations: 20.73 kB / 6.788 GB, free: 2.531 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/16.56, allocations: 23.44 kB / 6.788 GB, free: 2.508 MB / 0.5574 GB Notification: Performance of SimCode: time 1.503e-06/16.56, allocations: 0 / 6.788 GB, free: 2.508 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7762/17.33, allocations: 19.03 MB / 6.807 GB, free: 108.1 MB / 0.5732 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/17.33, allocations: 140.4 kB / 6.807 GB, free: 107.9 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/19.94, allocations: 0 / 6.807 GB, free: 107.9 MB / 0.5732 GB (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