Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00148/0.001479, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.857e-05, allocations: 4 kB / 425.4 MB, free: 23.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 58.85 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.504/0.6287, allocations: 92.92 MB / 0.5637 GB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.6292, allocations: 98.22 kB / 0.5637 GB, free: 10.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04117/0.6704, allocations: 7.705 MB / 0.5713 GB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6704, allocations: 0 / 0.5713 GB, free: 3.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.6704, allocations: 0 / 0.5713 GB, free: 3.824 MB / 378.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.0007454/0.6712, allocations: 433.9 kB / 0.5717 GB, free: 3.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6713, allocations: 8.031 kB / 0.5717 GB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/0.6713, allocations: 45.92 kB / 0.5717 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.6714, allocations: 15.91 kB / 0.5718 GB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.6716, allocations: 182.8 kB / 0.5719 GB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.6716, allocations: 7.75 kB / 0.5719 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.6717, allocations: 11.69 kB / 0.5719 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.672, allocations: 123.3 kB / 0.5721 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.672, allocations: 3.938 kB / 0.5721 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.6721, allocations: 3.5 kB / 0.5721 GB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6721, allocations: 8 kB / 0.5721 GB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.6724, allocations: 108.8 kB / 0.5722 GB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.6737, allocations: 0.5219 MB / 0.5727 GB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.674, allocations: 87.86 kB / 0.5728 GB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6741, allocations: 45.78 kB / 0.5728 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.6741, allocations: 7.984 kB / 0.5728 GB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.6742, allocations: 30.56 kB / 0.5729 GB, free: 2.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.465e-06/0.6742, allocations: 0 / 0.5729 GB, free: 2.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003526/0.6745, allocations: 100 kB / 0.573 GB, free: 2.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.6746, allocations: 55.41 kB / 0.573 GB, free: 2.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.6747, allocations: 114.4 kB / 0.5731 GB, free: 1.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.6748, allocations: 25.7 kB / 0.5731 GB, free: 1.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6749, allocations: 180 kB / 0.5733 GB, free: 1.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.675, allocations: 40.83 kB / 0.5734 GB, free: 1.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.675, allocations: 4 kB / 0.5734 GB, free: 1.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6751, allocations: 318.3 kB / 0.5737 GB, free: 1.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.6752, allocations: 27 kB / 0.5737 GB, free: 1.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6754, allocations: 71.47 kB / 0.5738 GB, free: 1.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.6755, allocations: 31.42 kB / 0.5738 GB, free: 1.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6755, allocations: 0 / 0.5738 GB, free: 1.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003647/0.6759, allocations: 143 kB / 0.5739 GB, free: 1.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.6759, allocations: 4 kB / 0.5739 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.676, allocations: 4 kB / 0.5739 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.676, allocations: 0 / 0.5739 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.6764, allocations: 51.89 kB / 0.574 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004864/0.6769, allocations: 0.59 MB / 0.5746 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.6771, allocations: 15.88 kB / 0.5746 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.6772, allocations: 11.98 kB / 0.5746 GB, free: 448 kB / 378.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.0001134/0.6773, allocations: 115.4 kB / 0.5747 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.6774, allocations: 7.906 kB / 0.5747 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.6779, allocations: 146.3 kB / 0.5748 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6779, allocations: 4 kB / 0.5748 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6779, allocations: 0 / 0.5748 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.6779, allocations: 3.953 kB / 0.5748 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.6784, allocations: 209.4 kB / 0.575 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6784, allocations: 4 kB / 0.575 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.6788, allocations: 47.53 kB / 0.5751 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.6788, allocations: 4 kB / 0.5751 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.6788, allocations: 3.938 kB / 0.5751 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004213/0.6793, allocations: 0.5932 MB / 0.5757 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6793, allocations: 0 / 0.5757 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.6797, allocations: 263.2 kB / 0.5759 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.6799, allocations: 92.41 kB / 0.576 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.6799, allocations: 7.75 kB / 0.576 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.6801, allocations: 15.94 kB / 0.576 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.6802, allocations: 7.984 kB / 0.576 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.6802, allocations: 7.375 kB / 0.5761 GB, free: 14.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.6803, allocations: 98.64 kB / 0.5761 GB, free: 14.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6803, allocations: 0 / 0.5761 GB, free: 14.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005651/0.6809, allocations: 79.12 kB / 0.5762 GB, free: 14.75 MB / 394.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.001181/0.6821, allocations: 0.8992 MB / 0.5771 GB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.6825, allocations: 92.3 kB / 0.5772 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6826, allocations: 0 / 0.5772 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.6828, allocations: 57.41 kB / 0.5772 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.683, allocations: 16.41 kB / 0.5773 GB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.6841, allocations: 283.8 kB / 0.5775 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.6845, allocations: 0.7043 MB / 0.5782 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.6846, allocations: 48.08 kB / 0.5783 GB, free: 12.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6847, allocations: 0 / 0.5783 GB, free: 12.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.606/3.29, allocations: 3.141 MB / 0.5813 GB, free: 9.543 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat