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.001561/0.001562, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008725/0.0008726, allocations: 98.41 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 45.16 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.729e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.5811, allocations: 91.56 MB / 0.5939 GB, free: 10.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5815, allocations: 94.73 kB / 0.594 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01792/0.5994, allocations: 5.988 MB / 0.5998 GB, free: 5.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5995, allocations: 0 / 0.5998 GB, free: 5.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5995, allocations: 8 kB / 0.5998 GB, free: 5.473 MB / 394.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.0007377/0.6002, allocations: 494 kB / 0.6003 GB, free: 4.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.6003, allocations: 8.031 kB / 0.6003 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6014, allocations: 166.7 kB / 0.6005 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.6018, allocations: 265.6 kB / 0.6007 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6018, allocations: 4 kB / 0.6007 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.6019, allocations: 12 kB / 0.6007 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005259/0.6024, allocations: 325.2 kB / 0.6011 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.603, allocations: 380.7 kB / 0.6014 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.603, allocations: 3.938 kB / 0.6014 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.603, allocations: 0 / 0.6014 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.6031, allocations: 28.3 kB / 0.6014 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.6053, allocations: 1.637 MB / 0.603 GB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.6055, allocations: 73.47 kB / 0.6031 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.6056, allocations: 47.84 kB / 0.6032 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.6056, allocations: 3.984 kB / 0.6032 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.6056, allocations: 30.56 kB / 0.6032 GB, free: 2.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.6056, allocations: 0 / 0.6032 GB, free: 2.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003034/0.6059, allocations: 108.7 kB / 0.6033 GB, free: 1.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.606, allocations: 51.41 kB / 0.6033 GB, free: 1.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.6062, allocations: 200.7 kB / 0.6035 GB, free: 1.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.6062, allocations: 25.7 kB / 0.6036 GB, free: 1.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.6064, allocations: 191.2 kB / 0.6037 GB, free: 1.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.6064, allocations: 26.89 kB / 0.6038 GB, free: 1.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.6064, allocations: 0 / 0.6038 GB, free: 1.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6066, allocations: 325.8 kB / 0.6041 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.6067, allocations: 54.23 kB / 0.6041 GB, free: 1.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.6068, allocations: 98.27 kB / 0.6042 GB, free: 1.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.607, allocations: 65.88 kB / 0.6043 GB, free: 1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.607, allocations: 4 kB / 0.6043 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003723/0.6074, allocations: 185.1 kB / 0.6045 GB, free: 0.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6074, allocations: 12.19 kB / 0.6045 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6074, allocations: 0 / 0.6045 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6074, allocations: 7.984 kB / 0.6045 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.6089, allocations: 127.4 kB / 0.6046 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.611, allocations: 1.841 MB / 0.6064 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.6112, allocations: 19.83 kB / 0.6064 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.6113, allocations: 12.19 kB / 0.6064 GB, free: 14.77 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 0.0001524/0.6114, allocations: 112.8 kB / 0.6065 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002308/0.6117, allocations: 112 kB / 0.6067 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.6117, allocations: 11.81 kB / 0.6067 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.6121, allocations: 165.9 kB / 0.6068 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6121, allocations: 0 / 0.6068 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6122, allocations: 0 / 0.6068 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.6122, allocations: 3.953 kB / 0.6068 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003418/0.6125, allocations: 233.9 kB / 0.607 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6125, allocations: 0 / 0.607 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.6137, allocations: 103.3 kB / 0.6071 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.6137, allocations: 0 / 0.6071 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.6138, allocations: 8 kB / 0.6072 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001361/0.6151, allocations: 1.795 MB / 0.6089 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6151, allocations: 0 / 0.6089 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.6155, allocations: 217.3 kB / 0.6091 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.6155, allocations: 96.8 kB / 0.6092 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.6156, allocations: 4 kB / 0.6092 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.6158, allocations: 7.984 kB / 0.6092 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.6159, allocations: 11.52 kB / 0.6092 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.6159, allocations: 8 kB / 0.6092 GB, free: 11.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.616, allocations: 156.7 kB / 0.6094 GB, free: 11.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.616, allocations: 0 / 0.6094 GB, free: 11.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004175/0.6165, allocations: 71.75 kB / 0.6095 GB, free: 11.64 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.0007704/0.6172, allocations: 0.7826 MB / 0.6102 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.6186, allocations: 187.6 kB / 0.6104 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6187, allocations: 0 / 0.6104 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.6195, allocations: 97.72 kB / 0.6105 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.6197, allocations: 12.22 kB / 0.6105 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.6207, allocations: 376.8 kB / 0.6109 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.6211, allocations: 0.7859 MB / 0.6116 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.6213, allocations: 37.17 kB / 0.6117 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.6214, allocations: 65.92 kB / 0.6117 GB, free: 9.336 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6214, allocations: 3.938 kB / 0.6117 GB, free: 9.332 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04431/0.6657, allocations: 5.272 MB / 0.6169 GB, free: 4.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003669/0.6662, allocations: 194.2 kB / 0.6171 GB, free: 3.895 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.573, allocations: 1.969 kB / 0.6171 GB, free: 3.895 MB / 410.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