Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001576/0.001576, allocations: 180.7 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.55/1.55, allocations: 221.3 MB / 236 MB, free: 2.91 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.0008405/0.0008408, allocations: 88.09 kB / 287 MB, free: 216 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.2033/0.2033, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.389e-05, allocations: 8.203 kB / 452 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.6104, allocations: 94.05 MB / 0.5937 GB, free: 11.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.6108, allocations: 99.92 kB / 0.5938 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02422/0.635, allocations: 7.834 MB / 0.6014 GB, free: 3.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.635, allocations: 0 / 0.6014 GB, free: 3.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.6351, allocations: 4 kB / 0.6014 GB, free: 3.266 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006052/0.6357, allocations: 434.1 kB / 0.6018 GB, free: 2.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.6357, allocations: 8.031 kB / 0.6018 GB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.6358, allocations: 46.55 kB / 0.6019 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.6359, allocations: 7.906 kB / 0.6019 GB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.636, allocations: 182.7 kB / 0.6021 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.6361, allocations: 16.5 kB / 0.6021 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.6361, allocations: 15.95 kB / 0.6021 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.6364, allocations: 129.6 kB / 0.6022 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.6364, allocations: 0 / 0.6022 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.6364, allocations: 4 kB / 0.6022 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6364, allocations: 4 kB / 0.6022 GB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.6366, allocations: 109 kB / 0.6023 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.6376, allocations: 0.5222 MB / 0.6028 GB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.6378, allocations: 90.52 kB / 0.6029 GB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.6379, allocations: 44.84 kB / 0.603 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.6379, allocations: 0 / 0.603 GB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.6379, allocations: 38.56 kB / 0.603 GB, free: 1.449 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.6379, allocations: 0 / 0.603 GB, free: 1.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002584/0.6382, allocations: 93.58 kB / 0.6031 GB, free: 1.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6382, allocations: 55.41 kB / 0.6031 GB, free: 1.285 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.553e-05/0.6383, allocations: 105.2 kB / 0.6032 GB, free: 1.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.6384, allocations: 29.7 kB / 0.6033 GB, free: 1.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.6385, allocations: 119.5 kB / 0.6034 GB, free: 1.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.6385, allocations: 43.38 kB / 0.6034 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.6385, allocations: 4 kB / 0.6034 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.6387, allocations: 315.2 kB / 0.6037 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.6387, allocations: 27.98 kB / 0.6038 GB, free: 0.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.6388, allocations: 69.09 kB / 0.6038 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.802e-05/0.6389, allocations: 35.98 kB / 0.6039 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6389, allocations: 0 / 0.6039 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002206/0.6391, allocations: 141.4 kB / 0.604 GB, free: 368 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6392, allocations: 4 kB / 0.604 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6392, allocations: 8.156 kB / 0.604 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6392, allocations: 0 / 0.604 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.6394, allocations: 52.27 kB / 0.6041 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004056/0.6399, allocations: 0.5821 MB / 0.6046 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.64, allocations: 19.86 kB / 0.6046 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.64, allocations: 16.09 kB / 0.6047 GB, free: 15.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.6401, allocations: 118.9 kB / 0.6048 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.6402, allocations: 11.84 kB / 0.6048 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.6405, allocations: 147.4 kB / 0.6049 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6405, allocations: 4 kB / 0.6049 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6405, allocations: 3.938 kB / 0.6049 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6405, allocations: 0 / 0.6049 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.6408, allocations: 217.4 kB / 0.6051 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6408, allocations: 0 / 0.6051 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.641, allocations: 39.97 kB / 0.6052 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.641, allocations: 4 kB / 0.6052 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.641, allocations: 7.984 kB / 0.6052 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003279/0.6414, allocations: 0.59 MB / 0.6058 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6414, allocations: 3.938 kB / 0.6058 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.6417, allocations: 252.8 kB / 0.606 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.6418, allocations: 93.03 kB / 0.6061 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.6418, allocations: 160 / 0.6061 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6419, allocations: 19.98 kB / 0.6061 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.642, allocations: 7.984 kB / 0.6061 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.642, allocations: 4 kB / 0.6061 GB, free: 14.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.6421, allocations: 91.27 kB / 0.6062 GB, free: 13.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6421, allocations: 0 / 0.6062 GB, free: 13.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004462/0.6425, allocations: 91.77 kB / 0.6063 GB, free: 13.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009052/0.6435, allocations: 0.8904 MB / 0.6072 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.6438, allocations: 103.8 kB / 0.6073 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6438, allocations: 4 kB / 0.6073 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.6439, allocations: 48.27 kB / 0.6073 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.6441, allocations: 11.94 kB / 0.6073 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.6448, allocations: 258.2 kB / 0.6076 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.6451, allocations: 0.7124 MB / 0.6083 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.6453, allocations: 20.53 kB / 0.6083 GB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.6453, allocations: 35.42 kB / 0.6083 GB, free: 11.69 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6453, allocations: 0 / 0.6083 GB, free: 11.69 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.663, allocations: 3.802 MB / 0.612 GB, free: 8.113 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.6633, allocations: 233.2 kB / 0.6123 GB, free: 7.844 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.427, allocations: 0 / 0.6123 GB, free: 7.844 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat