Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009479/0.0009478, allocations: 86.28 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.972e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09762, allocations: 63.24 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4554, allocations: 89.31 MB / 0.5987 GB, free: 4.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.4556, allocations: 79.14 kB / 0.5988 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.4709, allocations: 5.542 MB / 0.6042 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4709, allocations: 0 / 0.6042 GB, free: 15.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4709, allocations: 4 kB / 0.6042 GB, free: 15.79 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004406/0.4714, allocations: 409.5 kB / 0.6046 GB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4714, allocations: 15.97 kB / 0.6046 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.4715, allocations: 33.94 kB / 0.6046 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.4715, allocations: 7.953 kB / 0.6046 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4717, allocations: 176.5 kB / 0.6048 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.4717, allocations: 0 / 0.6048 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4717, allocations: 4 kB / 0.6048 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4719, allocations: 79.58 kB / 0.6049 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4719, allocations: 0 / 0.6049 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.4719, allocations: 0 / 0.6049 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4719, allocations: 0 / 0.6049 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.472, allocations: 58.47 kB / 0.6049 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.4722, allocations: 195.8 kB / 0.6051 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.4723, allocations: 57.56 kB / 0.6052 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.4724, allocations: 39.36 kB / 0.6052 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/0.4724, allocations: 19.86 kB / 0.6052 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.4725, allocations: 38.44 kB / 0.6053 GB, free: 14.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4725, allocations: 0 / 0.6053 GB, free: 14.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.01747/0.4899, allocations: 1.425 MB / 0.6066 GB, free: 13.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.49, allocations: 55.36 kB / 0.6067 GB, free: 13.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.4901, allocations: 113.2 kB / 0.6068 GB, free: 13.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.4902, allocations: 33.02 kB / 0.6068 GB, free: 13.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.4902, allocations: 84.12 kB / 0.6069 GB, free: 12.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.4903, allocations: 42.25 kB / 0.607 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.581e-05/0.4903, allocations: 0 / 0.607 GB, free: 12.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4904, allocations: 326.6 kB / 0.6073 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.4906, allocations: 78.42 kB / 0.6073 GB, free: 12.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.4907, allocations: 77.86 kB / 0.6074 GB, free: 12.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.4909, allocations: 68.53 kB / 0.6075 GB, free: 12.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4909, allocations: 0 / 0.6075 GB, free: 12.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004085/0.4913, allocations: 215.6 kB / 0.6077 GB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4914, allocations: 5.25 kB / 0.6077 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4914, allocations: 0 / 0.6077 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4914, allocations: 7.984 kB / 0.6077 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.4919, allocations: 67.92 kB / 0.6078 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4919, allocations: 0 / 0.6078 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.4924, allocations: 43.92 kB / 0.6078 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.4924, allocations: 7.984 kB / 0.6078 GB, free: 12.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.458e-05/0.4925, allocations: 104.9 kB / 0.6079 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.4925, allocations: 7.906 kB / 0.6079 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.4931, allocations: 267.4 kB / 0.6082 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4931, allocations: 8 kB / 0.6082 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4931, allocations: 0 / 0.6082 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4932, allocations: 3.984 kB / 0.6082 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.4952, allocations: 0.7299 MB / 0.6089 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4952, allocations: 0 / 0.6089 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.4957, allocations: 67.88 kB / 0.609 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4957, allocations: 96 / 0.609 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.4958, allocations: 15.94 kB / 0.609 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.4958, allocations: 4 kB / 0.609 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4958, allocations: 240 / 0.609 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.4963, allocations: 356.2 kB / 0.6093 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.4965, allocations: 109.6 kB / 0.6094 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.4965, allocations: 3.938 kB / 0.6094 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.4969, allocations: 47.33 kB / 0.6095 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.497, allocations: 4 kB / 0.6095 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.497, allocations: 11.98 kB / 0.6095 GB, free: 10.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.167e-05/0.4971, allocations: 99.34 kB / 0.6096 GB, free: 10.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4971, allocations: 0 / 0.6096 GB, free: 10.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005904/0.4977, allocations: 186.8 kB / 0.6098 GB, free: 10.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001472/0.4992, allocations: 1.249 MB / 0.611 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.4995, allocations: 186.3 kB / 0.6112 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4995, allocations: 0 / 0.6112 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.4997, allocations: 94.53 kB / 0.6113 GB, free: 8.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.5, allocations: 19.89 kB / 0.6113 GB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.5023, allocations: 482.3 kB / 0.6117 GB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.5026, allocations: 0.7004 MB / 0.6124 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.5028, allocations: 40.41 kB / 0.6125 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.503, allocations: 34.47 kB / 0.6125 GB, free: 7.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.503, allocations: 0 / 0.6125 GB, free: 7.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.5234, allocations: 6.827 MB / 0.6192 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.5236, allocations: 190.8 kB / 0.6193 GB, free: 0.707 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.223, allocations: 0 / 0.6193 GB, free: 0.707 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat