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.001575/0.001575, allocations: 198.1 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.476/1.476, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 96.98 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.873e-05, allocations: 0 / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 63.25 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5593, allocations: 92.48 MB / 0.5948 GB, free: 9.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.5597, allocations: 97.05 kB / 0.5949 GB, free: 9.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.5756, allocations: 6.027 MB / 0.6008 GB, free: 4.555 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5756, allocations: 0.6562 kB / 0.6008 GB, free: 4.555 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.5756, allocations: 8 kB / 0.6008 GB, free: 4.547 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005137/0.5761, allocations: 490.3 kB / 0.6012 GB, free: 4.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5762, allocations: 8.031 kB / 0.6012 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.5775, allocations: 202.2 kB / 0.6014 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.5778, allocations: 270.2 kB / 0.6017 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.5778, allocations: 12 kB / 0.6017 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.5779, allocations: 15.94 kB / 0.6017 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006296/0.5785, allocations: 0.496 MB / 0.6022 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.5791, allocations: 408 kB / 0.6026 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5791, allocations: 4 kB / 0.6026 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.5791, allocations: 0 / 0.6026 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.5792, allocations: 31.48 kB / 0.6026 GB, free: 2.859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.581, allocations: 1.071 MB / 0.6037 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.5812, allocations: 108.2 kB / 0.6038 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.5813, allocations: 52.25 kB / 0.6038 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.5814, allocations: 8 kB / 0.6038 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.5814, allocations: 30.56 kB / 0.6039 GB, free: 1.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.5814, allocations: 0 / 0.6039 GB, free: 1.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003371/0.5817, allocations: 136.8 kB / 0.604 GB, free: 1.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.5818, allocations: 55.39 kB / 0.6041 GB, free: 1.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5819, allocations: 130.2 kB / 0.6042 GB, free: 1.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5819, allocations: 25.7 kB / 0.6042 GB, free: 1.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.582, allocations: 185.7 kB / 0.6044 GB, free: 1.105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.582, allocations: 31.28 kB / 0.6044 GB, free: 1.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.5821, allocations: 0 / 0.6044 GB, free: 1.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.5822, allocations: 322.1 kB / 0.6047 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5823, allocations: 50.66 kB / 0.6048 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5824, allocations: 85.41 kB / 0.6048 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5825, allocations: 58.14 kB / 0.6049 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5825, allocations: 0 / 0.6049 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003031/0.5828, allocations: 174.9 kB / 0.6051 GB, free: 444 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5828, allocations: 8 kB / 0.6051 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5829, allocations: 0 / 0.6051 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5829, allocations: 0 / 0.6051 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005137/0.588, allocations: 443.9 kB / 0.6055 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.5905, allocations: 1.915 MB / 0.6074 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.5909, allocations: 36.12 kB / 0.6074 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.591, allocations: 15.88 kB / 0.6074 GB, free: 13.99 MB / 410.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 () * 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 9.602e-05/0.5911, allocations: 104.3 kB / 0.6075 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002746/0.5913, allocations: 139.6 kB / 0.6077 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.5914, allocations: 7.906 kB / 0.6077 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.5914, allocations: 11.86 kB / 0.6077 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5914, allocations: 8 kB / 0.6077 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5914, allocations: 3.953 kB / 0.6077 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5915, allocations: 3.984 kB / 0.6077 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.5918, allocations: 250.1 kB / 0.6079 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5918, allocations: 4 kB / 0.6079 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00495/0.5967, allocations: 446.7 kB / 0.6084 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5967, allocations: 0 / 0.6084 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.5968, allocations: 7.438 kB / 0.6084 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.5993, allocations: 1.913 MB / 0.6102 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5993, allocations: 192 / 0.6102 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.5996, allocations: 240.8 kB / 0.6105 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.5997, allocations: 81.02 kB / 0.6105 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.5997, allocations: 0 / 0.6105 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.6001, allocations: 19.97 kB / 0.6106 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.6001, allocations: 11.61 kB / 0.6106 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.6001, allocations: 11.98 kB / 0.6106 GB, free: 10.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.083e-05/0.6002, allocations: 106.2 kB / 0.6107 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6002, allocations: 3.938 kB / 0.6107 GB, free: 10.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.6006, allocations: 79.59 kB / 0.6108 GB, free: 10.51 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 (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.0007214/0.6013, allocations: 0.8028 MB / 0.6115 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004763/0.6061, allocations: 459.3 kB / 0.612 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6061, allocations: 0 / 0.612 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004458/0.6106, allocations: 393.5 kB / 0.6124 GB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.6108, allocations: 8.531 kB / 0.6124 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.6117, allocations: 348.5 kB / 0.6127 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.612, allocations: 0.7853 MB / 0.6135 GB, free: 7.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.6122, allocations: 36.53 kB / 0.6135 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6123, allocations: 60.91 kB / 0.6136 GB, free: 7.668 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6123, allocations: 0 / 0.6136 GB, free: 7.668 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.6383, allocations: 5.464 MB / 0.6189 GB, free: 2.242 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.6385, allocations: 208 kB / 0.6191 GB, free: 1.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.528, allocations: 5.719 kB / 0.6191 GB, free: 1.949 MB / 410.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