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.001915/0.001914, allocations: 197.5 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.46/1.46, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 105.6 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3947/0.3947, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002975, allocations: 12.22 kB / 468.5 MB, free: 7.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3376, allocations: 63.24 MB / 0.5193 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4572, allocations: 92.3 MB / 0.6094 GB, free: 11.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4576, allocations: 103.9 kB / 0.6095 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.4747, allocations: 6.062 MB / 0.6154 GB, free: 4.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4747, allocations: 4 kB / 0.6154 GB, free: 4.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.4747, allocations: 4 kB / 0.6154 GB, free: 4.855 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007815/0.4755, allocations: 0.5028 MB / 0.6159 GB, free: 4.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4756, allocations: 8.031 kB / 0.6159 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.836e-05/0.4757, allocations: 58.55 kB / 0.616 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.4767, allocations: 175.4 kB / 0.6162 GB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.4771, allocations: 268.7 kB / 0.6164 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4772, allocations: 16.44 kB / 0.6164 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.4772, allocations: 16 kB / 0.6165 GB, free: 3.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.4779, allocations: 437.2 kB / 0.6169 GB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4779, allocations: 0 / 0.6169 GB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.478, allocations: 11.98 kB / 0.6169 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.478, allocations: 28.48 kB / 0.6169 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006596/0.4787, allocations: 389.8 kB / 0.6173 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.4809, allocations: 1.717 MB / 0.619 GB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.4812, allocations: 102.5 kB / 0.6191 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4812, allocations: 0 / 0.6191 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.4812, allocations: 30.56 kB / 0.6191 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.195e-06/0.4813, allocations: 4 kB / 0.6191 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005945/0.4819, allocations: 209.6 kB / 0.6193 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4819, allocations: 51.41 kB / 0.6193 GB, free: 0.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.4823, allocations: 301.7 kB / 0.6196 GB, free: 288 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4823, allocations: 25.7 kB / 0.6197 GB, free: 256 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4824, allocations: 191.2 kB / 0.6198 GB, free: 60 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4825, allocations: 23.66 kB / 0.6199 GB, free: 36 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.4825, allocations: 4 kB / 0.6199 GB, free: 32 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4826, allocations: 338.8 kB / 0.6202 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.4828, allocations: 71.94 kB / 0.6203 GB, free: 15.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.483, allocations: 125.9 kB / 0.6204 GB, free: 15.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.4832, allocations: 95.31 kB / 0.6205 GB, free: 15.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4832, allocations: 0 / 0.6205 GB, free: 15.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005323/0.4838, allocations: 245.4 kB / 0.6207 GB, free: 15.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4838, allocations: 7.984 kB / 0.6207 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4838, allocations: 4 kB / 0.6207 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4839, allocations: 0 / 0.6207 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.4855, allocations: 119.8 kB / 0.6208 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.4871, allocations: 1.848 MB / 0.6226 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.4874, allocations: 47.94 kB / 0.6227 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4874, allocations: 4 kB / 0.6227 GB, free: 13.04 MB / 442.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 () * Number of clocked 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 0.000188/0.4876, allocations: 153.7 kB / 0.6228 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.4877, allocations: 23.72 kB / 0.6228 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.4882, allocations: 207.1 kB / 0.623 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4882, allocations: 4 kB / 0.6231 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4882, allocations: 0 / 0.6231 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4882, allocations: 0 / 0.6231 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.4886, allocations: 293.3 kB / 0.6233 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4886, allocations: 0 / 0.6233 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.4899, allocations: 91.88 kB / 0.6234 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4899, allocations: 4 kB / 0.6234 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.4899, allocations: 3.984 kB / 0.6234 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.491, allocations: 1.789 MB / 0.6252 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.491, allocations: 4.031 kB / 0.6252 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.4915, allocations: 275.3 kB / 0.6254 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.4916, allocations: 100.8 kB / 0.6255 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.4916, allocations: 0 / 0.6255 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.4918, allocations: 8 kB / 0.6255 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.4919, allocations: 15.98 kB / 0.6256 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4919, allocations: 0 / 0.6256 GB, free: 9.922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.4922, allocations: 241.9 kB / 0.6258 GB, free: 9.684 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4922, allocations: 4 kB / 0.6258 GB, free: 9.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.4925, allocations: 67.94 kB / 0.6259 GB, free: 9.613 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 (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.0008014/0.4934, allocations: 0.837 MB / 0.6267 GB, free: 8.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.4951, allocations: 223.7 kB / 0.6269 GB, free: 8.531 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4951, allocations: 384 / 0.6269 GB, free: 8.531 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009693/0.4961, allocations: 117.1 kB / 0.627 GB, free: 8.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4964, allocations: 45.34 kB / 0.627 GB, free: 8.371 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.4995, allocations: 2.527 MB / 0.6295 GB, free: 5.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4999, allocations: 0.7985 MB / 0.6303 GB, free: 4.941 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.5001, allocations: 46.27 kB / 0.6303 GB, free: 4.898 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.5002, allocations: 73.52 kB / 0.6304 GB, free: 4.828 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5002, allocations: 0 / 0.6304 GB, free: 4.828 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.5217, allocations: 7.571 MB / 0.6378 GB, free: 13.53 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.522, allocations: 256.3 kB / 0.638 GB, free: 13.19 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.675, allocations: 0 / 0.638 GB, free: 13.19 MB / 458.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