Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001306/0.001305, allocations: 179.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 92.03 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.202/0.202, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.209e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5776, allocations: 91.15 MB / 0.5908 GB, free: 14.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.578, allocations: 100.9 kB / 0.5909 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0172/0.5952, allocations: 5.999 MB / 0.5968 GB, free: 7.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5952, allocations: 0 / 0.5968 GB, free: 7.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.5953, allocations: 8 kB / 0.5968 GB, free: 7.93 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.0006253/0.5959, allocations: 494.1 kB / 0.5973 GB, free: 7.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.5959, allocations: 8.031 kB / 0.5973 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.334e-05/0.596, allocations: 62.53 kB / 0.5973 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009877/0.597, allocations: 163.5 kB / 0.5975 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.5974, allocations: 264.6 kB / 0.5977 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.5974, allocations: 16.44 kB / 0.5978 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.5975, allocations: 24 kB / 0.5978 GB, free: 6.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.5982, allocations: 421.2 kB / 0.5982 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5982, allocations: 0 / 0.5982 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.5983, allocations: 8 kB / 0.5982 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/0.5983, allocations: 24.55 kB / 0.5982 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/0.5989, allocations: 349.9 kB / 0.5986 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.6014, allocations: 1.708 MB / 0.6002 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.6016, allocations: 90.48 kB / 0.6003 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.6017, allocations: 36.83 kB / 0.6003 GB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.6018, allocations: 4 kB / 0.6003 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.6018, allocations: 30.56 kB / 0.6004 GB, free: 3.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.6018, allocations: 0 / 0.6004 GB, free: 3.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003493/0.6022, allocations: 125.5 kB / 0.6005 GB, free: 3.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.6022, allocations: 51.41 kB / 0.6005 GB, free: 3.797 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.6026, allocations: 307 kB / 0.6008 GB, free: 3.484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.6026, allocations: 25.7 kB / 0.6009 GB, free: 3.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6027, allocations: 179.3 kB / 0.601 GB, free: 3.273 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.6028, allocations: 27.64 kB / 0.6011 GB, free: 3.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.6028, allocations: 0 / 0.6011 GB, free: 3.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6029, allocations: 338.8 kB / 0.6014 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.603, allocations: 47.97 kB / 0.6014 GB, free: 2.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.6032, allocations: 109.9 kB / 0.6015 GB, free: 2.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.6033, allocations: 73.25 kB / 0.6016 GB, free: 2.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.6033, allocations: 4 kB / 0.6016 GB, free: 2.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003652/0.6037, allocations: 217.2 kB / 0.6018 GB, free: 2.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.6037, allocations: 5.094 kB / 0.6018 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6038, allocations: 7.938 kB / 0.6018 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.6038, allocations: 4 kB / 0.6018 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.6053, allocations: 115.8 kB / 0.6019 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.607, allocations: 1.848 MB / 0.6037 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.6073, allocations: 35.58 kB / 0.6038 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.6073, allocations: 8 kB / 0.6038 GB, free: 356 kB / 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.0001206/0.6075, allocations: 116.9 kB / 0.6039 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.6075, allocations: 23.72 kB / 0.6039 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.6079, allocations: 175.4 kB / 0.6041 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6079, allocations: 4 kB / 0.6041 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.608, allocations: 0 / 0.6041 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.608, allocations: 0 / 0.6041 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.6083, allocations: 273.4 kB / 0.6044 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6083, allocations: 3.938 kB / 0.6044 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6095, allocations: 110.7 kB / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6095, allocations: 0 / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.6095, allocations: 8 kB / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.6108, allocations: 1.789 MB / 0.6062 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6108, allocations: 0 / 0.6062 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.6111, allocations: 239.2 kB / 0.6064 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.6112, allocations: 100.8 kB / 0.6065 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.6113, allocations: 4 kB / 0.6065 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.6115, allocations: 16.08 kB / 0.6066 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.6115, allocations: 7.984 kB / 0.6066 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.6116, allocations: 8 kB / 0.6066 GB, free: 13.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002298/0.6118, allocations: 239.1 kB / 0.6068 GB, free: 13.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6118, allocations: 0 / 0.6068 GB, free: 13.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.6122, allocations: 79.83 kB / 0.6069 GB, free: 13.01 MB / 426.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.0006523/0.6128, allocations: 0.7905 MB / 0.6076 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.6142, allocations: 203.5 kB / 0.6078 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6142, allocations: 0 / 0.6078 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.615, allocations: 91.84 kB / 0.6079 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.6153, allocations: 32.88 kB / 0.608 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.6163, allocations: 417.5 kB / 0.6084 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.6167, allocations: 0.7872 MB / 0.6091 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.6169, allocations: 61.95 kB / 0.6092 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.617, allocations: 75.34 kB / 0.6093 GB, free: 10.48 MB / 426.7 MB Notification: Performance of SimCode: time 4.1e-07/0.617, allocations: 0 / 0.6093 GB, free: 10.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.6379, allocations: 7.586 MB / 0.6167 GB, free: 3.137 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.6382, allocations: 231.7 kB / 0.6169 GB, free: 2.902 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.743, allocations: 0 / 0.6169 GB, free: 2.902 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat