Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.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.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 196.9 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, 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.0008852/0.0008852, allocations: 83.48 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.2046/0.2046, allocations: 45.13 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.28e-05/3.29e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09839, allocations: 63.24 MB / 0.5115 GB, free: 6.676 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3951/0.4936, allocations: 92.24 MB / 0.6016 GB, free: 1.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.4939, allocations: 94.62 kB / 0.6016 GB, free: 1.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.5107, allocations: 6.055 MB / 0.6076 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5108, allocations: 0 / 0.6076 GB, free: 12.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.5108, allocations: 4 kB / 0.6076 GB, free: 12.25 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005641/0.5113, allocations: 497.8 kB / 0.608 GB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5114, allocations: 8.031 kB / 0.608 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.394e-05/0.5115, allocations: 57.11 kB / 0.6081 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.5124, allocations: 165.7 kB / 0.6083 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.5128, allocations: 261.4 kB / 0.6085 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5128, allocations: 16.19 kB / 0.6085 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.5129, allocations: 26.69 kB / 0.6085 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.5134, allocations: 414.5 kB / 0.6089 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5134, allocations: 4 kB / 0.6089 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.5135, allocations: 6.875 kB / 0.609 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.5135, allocations: 27.55 kB / 0.609 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.514, allocations: 350.2 kB / 0.6093 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.5159, allocations: 1.712 MB / 0.611 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.5161, allocations: 91.48 kB / 0.6111 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.5162, allocations: 39.02 kB / 0.6111 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.5162, allocations: 4 kB / 0.6111 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5163, allocations: 37.62 kB / 0.6111 GB, free: 8.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.5163, allocations: 0 / 0.6111 GB, free: 8.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002949/0.5166, allocations: 123.2 kB / 0.6113 GB, free: 8.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.5166, allocations: 51.41 kB / 0.6113 GB, free: 8.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.5169, allocations: 292.9 kB / 0.6116 GB, free: 8.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.517, allocations: 33.64 kB / 0.6116 GB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5171, allocations: 179.2 kB / 0.6118 GB, free: 8.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.5171, allocations: 27.02 kB / 0.6118 GB, free: 8.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.5171, allocations: 7.188 kB / 0.6118 GB, free: 8.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5172, allocations: 333.1 kB / 0.6121 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.5174, allocations: 53.28 kB / 0.6122 GB, free: 7.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.5175, allocations: 104.7 kB / 0.6123 GB, free: 7.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.5176, allocations: 73.69 kB / 0.6124 GB, free: 7.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5176, allocations: 0 / 0.6124 GB, free: 7.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003398/0.518, allocations: 212.9 kB / 0.6126 GB, free: 7.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.518, allocations: 8.031 kB / 0.6126 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.518, allocations: 4 kB / 0.6126 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.518, allocations: 0 / 0.6126 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.5195, allocations: 119.8 kB / 0.6127 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.5211, allocations: 1.848 MB / 0.6145 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.5214, allocations: 35.88 kB / 0.6145 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.5214, allocations: 15.48 kB / 0.6146 GB, free: 5.246 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.5215, allocations: 112.2 kB / 0.6147 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.5216, allocations: 15.81 kB / 0.6147 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.522, allocations: 182 kB / 0.6148 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.522, allocations: 7.969 kB / 0.6149 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.522, allocations: 0 / 0.6149 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.522, allocations: 7.953 kB / 0.6149 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.5223, allocations: 265 kB / 0.6151 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5223, allocations: 0 / 0.6151 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.5234, allocations: 110.7 kB / 0.6152 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5235, allocations: 0 / 0.6152 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.5235, allocations: 7.688 kB / 0.6152 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.5247, allocations: 1.793 MB / 0.617 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5247, allocations: 0 / 0.617 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.525, allocations: 232.5 kB / 0.6172 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.5251, allocations: 104.8 kB / 0.6173 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.5251, allocations: 3.984 kB / 0.6173 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.5253, allocations: 11.62 kB / 0.6173 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.5254, allocations: 7.984 kB / 0.6173 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.5254, allocations: 8.062 kB / 0.6173 GB, free: 2.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.5257, allocations: 241 kB / 0.6176 GB, free: 2.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5257, allocations: 0 / 0.6176 GB, free: 2.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.526, allocations: 67.78 kB / 0.6176 GB, free: 2.086 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006868/0.5267, allocations: 0.8227 MB / 0.6184 GB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.528, allocations: 191.5 kB / 0.6186 GB, free: 1.098 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.528, allocations: 0 / 0.6186 GB, free: 1.098 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.5287, allocations: 90.84 kB / 0.6187 GB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.529, allocations: 39.73 kB / 0.6187 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.5299, allocations: 416.5 kB / 0.6191 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.5303, allocations: 0.7828 MB / 0.6199 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.5304, allocations: 54.02 kB / 0.6199 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.5306, allocations: 69.42 kB / 0.62 GB, free: 15.68 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5306, allocations: 4 kB / 0.62 GB, free: 15.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.5506, allocations: 7.582 MB / 0.6274 GB, free: 8.367 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.5508, allocations: 224.4 kB / 0.6276 GB, free: 8.141 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.52, allocations: 0 / 0.6276 GB, free: 8.141 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat