Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001209/0.001209, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000964/0.0009639, allocations: 93.39 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.402/0.402, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8 kB / 468.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3481, allocations: 63.24 MB / 0.5193 GB, free: 43.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4598, allocations: 93.23 MB / 0.6103 GB, free: 12.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.4602, allocations: 95.91 kB / 0.6104 GB, free: 12.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0175/0.4777, allocations: 6.114 MB / 0.6164 GB, free: 6.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.4778, allocations: 4 kB / 0.6164 GB, free: 6.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4778, allocations: 4 kB / 0.6164 GB, free: 6.086 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007044/0.4785, allocations: 0.4959 MB / 0.6169 GB, free: 5.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.4786, allocations: 12.03 kB / 0.6169 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.034e-05/0.4786, allocations: 58.55 kB / 0.617 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.4801, allocations: 203.3 kB / 0.6171 GB, free: 5.266 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.4806, allocations: 266.7 kB / 0.6174 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.362e-05/0.4807, allocations: 20.56 kB / 0.6174 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4807, allocations: 27.94 kB / 0.6174 GB, free: 4.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/0.4817, allocations: 492.5 kB / 0.6179 GB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4818, allocations: 0 / 0.6179 GB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.4818, allocations: 8 kB / 0.6179 GB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.4819, allocations: 20.55 kB / 0.6179 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.4831, allocations: 0.5915 MB / 0.6185 GB, free: 3.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.4854, allocations: 1.175 MB / 0.6197 GB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.4861, allocations: 174.3 kB / 0.6198 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4861, allocations: 0 / 0.6198 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.4862, allocations: 38.5 kB / 0.6199 GB, free: 2.332 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4862, allocations: 0 / 0.6199 GB, free: 2.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.001248/0.4874, allocations: 305.2 kB / 0.6202 GB, free: 2.027 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.4875, allocations: 55.41 kB / 0.6202 GB, free: 1.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.4877, allocations: 257.6 kB / 0.6205 GB, free: 1.703 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.4878, allocations: 29.64 kB / 0.6205 GB, free: 1.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4879, allocations: 167.7 kB / 0.6206 GB, free: 1.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.488, allocations: 27.64 kB / 0.6207 GB, free: 1.473 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.488, allocations: 4 kB / 0.6207 GB, free: 1.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4881, allocations: 338.8 kB / 0.621 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.4885, allocations: 95.89 kB / 0.6211 GB, free: 1.035 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.4889, allocations: 120.5 kB / 0.6212 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.4892, allocations: 99.91 kB / 0.6213 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4892, allocations: 3.938 kB / 0.6213 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008128/0.4901, allocations: 269.2 kB / 0.6216 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4901, allocations: 8 kB / 0.6216 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4901, allocations: 0 / 0.6216 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4901, allocations: 0 / 0.6216 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005583/0.4957, allocations: 452.2 kB / 0.622 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.4989, allocations: 1.945 MB / 0.6239 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.4994, allocations: 47.75 kB / 0.6239 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.4995, allocations: 15.94 kB / 0.624 GB, free: 14.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 0.0002092/0.4997, allocations: 145.8 kB / 0.6241 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.4997, allocations: 19.81 kB / 0.6241 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.4998, allocations: 29.7 kB / 0.6241 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4998, allocations: 0 / 0.6241 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4998, allocations: 4 kB / 0.6242 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4998, allocations: 0 / 0.6242 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.5002, allocations: 301.3 kB / 0.6244 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5002, allocations: 0 / 0.6244 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005749/0.506, allocations: 439.3 kB / 0.6249 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.506, allocations: 0 / 0.6249 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.506, allocations: 7.984 kB / 0.6249 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.5091, allocations: 1.941 MB / 0.6268 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5091, allocations: 0 / 0.6268 GB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.5099, allocations: 327.1 kB / 0.6271 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.51, allocations: 100.8 kB / 0.6272 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.51, allocations: 4 kB / 0.6272 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.5104, allocations: 23.97 kB / 0.6272 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.5105, allocations: 11.92 kB / 0.6272 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.5105, allocations: 3.984 kB / 0.6272 GB, free: 10.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.5108, allocations: 205.9 kB / 0.6274 GB, free: 10.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5108, allocations: 0 / 0.6274 GB, free: 10.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000385/0.5112, allocations: 71.84 kB / 0.6275 GB, free: 10.24 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001221/0.5124, allocations: 0.9008 MB / 0.6284 GB, free: 9.316 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005681/0.5181, allocations: 0.5266 MB / 0.6289 GB, free: 8.789 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5181, allocations: 4.188 kB / 0.6289 GB, free: 8.785 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005272/0.5234, allocations: 431.3 kB / 0.6293 GB, free: 8.363 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.5237, allocations: 42.17 kB / 0.6293 GB, free: 8.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.527, allocations: 2.131 MB / 0.6314 GB, free: 6.125 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5274, allocations: 0.783 MB / 0.6322 GB, free: 5.316 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.5276, allocations: 62.02 kB / 0.6322 GB, free: 5.254 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.5278, allocations: 63.42 kB / 0.6323 GB, free: 5.191 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5278, allocations: 0 / 0.6323 GB, free: 5.191 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.5493, allocations: 8.017 MB / 0.6401 GB, free: 13.46 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/0.5496, allocations: 275 kB / 0.6404 GB, free: 13.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.705, allocations: 2.5 kB / 0.6404 GB, free: 13.09 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat