Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001743/0.001744, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.000802/0.000802, allocations: 81.33 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4291/0.4291, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.225e-05, allocations: 4 kB / 425.4 MB, free: 8.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 58.85 MB / 484.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.6128, allocations: 92.91 MB / 0.5637 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.6131, allocations: 98.77 kB / 0.5638 GB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.6348, allocations: 7.697 MB / 0.5713 GB, free: 5.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6348, allocations: 0 / 0.5713 GB, free: 5.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.6349, allocations: 0 / 0.5713 GB, free: 5.91 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005601/0.6354, allocations: 441.6 kB / 0.5717 GB, free: 5.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.6355, allocations: 12.03 kB / 0.5717 GB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.575e-05/0.6356, allocations: 46.23 kB / 0.5718 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.6356, allocations: 11.34 kB / 0.5718 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.6357, allocations: 178.8 kB / 0.5719 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.6358, allocations: 7.875 kB / 0.5719 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.6358, allocations: 11.88 kB / 0.572 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.6361, allocations: 127.1 kB / 0.5721 GB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6361, allocations: 11.94 kB / 0.5721 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.6362, allocations: 6.656 kB / 0.5721 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.6362, allocations: 4 kB / 0.5721 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.6363, allocations: 106.2 kB / 0.5722 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.6372, allocations: 0.5288 MB / 0.5727 GB, free: 4.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.6374, allocations: 85.59 kB / 0.5728 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.6374, allocations: 43.98 kB / 0.5728 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.6375, allocations: 0 / 0.5728 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.6375, allocations: 30.78 kB / 0.5729 GB, free: 4.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.6375, allocations: 7.938 kB / 0.5729 GB, free: 4.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002216/0.6377, allocations: 95.5 kB / 0.573 GB, free: 4.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.6378, allocations: 51.41 kB / 0.573 GB, free: 4.145 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.6379, allocations: 114.1 kB / 0.5731 GB, free: 4.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.6379, allocations: 25.7 kB / 0.5732 GB, free: 4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.6379, allocations: 115.5 kB / 0.5733 GB, free: 3.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.638, allocations: 42.95 kB / 0.5733 GB, free: 3.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.638, allocations: 0 / 0.5733 GB, free: 3.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.638, allocations: 326.7 kB / 0.5736 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.6381, allocations: 32.17 kB / 0.5736 GB, free: 3.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.6382, allocations: 61.94 kB / 0.5737 GB, free: 3.438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.405e-05/0.6383, allocations: 43.78 kB / 0.5737 GB, free: 3.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6383, allocations: 0 / 0.5737 GB, free: 3.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003008/0.6386, allocations: 132 kB / 0.5739 GB, free: 3.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.6386, allocations: 4.625 kB / 0.5739 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6387, allocations: 8 kB / 0.5739 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.6387, allocations: 0 / 0.5739 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6389, allocations: 52.05 kB / 0.5739 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002822/0.6392, allocations: 0.5895 MB / 0.5745 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.6394, allocations: 19.77 kB / 0.5745 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.6394, allocations: 8 kB / 0.5745 GB, free: 2.594 MB / 394.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 5.708e-05/0.6395, allocations: 112.7 kB / 0.5746 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.6395, allocations: 12 kB / 0.5747 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.6398, allocations: 146.5 kB / 0.5748 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6398, allocations: 4 kB / 0.5748 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6398, allocations: 0 / 0.5748 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6398, allocations: 7.953 kB / 0.5748 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.64, allocations: 212.9 kB / 0.575 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6401, allocations: 7.875 kB / 0.575 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6403, allocations: 39.97 kB / 0.5751 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6403, allocations: 3.984 kB / 0.5751 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.6403, allocations: 4 kB / 0.5751 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001793/0.6405, allocations: 0.5893 MB / 0.5756 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6405, allocations: 0 / 0.5756 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.6407, allocations: 262.9 kB / 0.5759 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.6408, allocations: 89 kB / 0.576 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.6408, allocations: 7.922 kB / 0.576 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6409, allocations: 11.95 kB / 0.576 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.641, allocations: 11.7 kB / 0.576 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.641, allocations: 11.98 kB / 0.576 GB, free: 1.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.329e-05/0.641, allocations: 87.16 kB / 0.5761 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6411, allocations: 0 / 0.5761 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.6415, allocations: 83.48 kB / 0.5762 GB, free: 0.9062 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.000724/0.6422, allocations: 0.8904 MB / 0.577 GB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.6425, allocations: 95.03 kB / 0.5771 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6425, allocations: 0 / 0.5771 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.6427, allocations: 67.67 kB / 0.5772 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.6429, allocations: 7.766 kB / 0.5772 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.6436, allocations: 258.6 kB / 0.5775 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.6439, allocations: 0.7043 MB / 0.5781 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.644, allocations: 18.03 kB / 0.5782 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.6441, allocations: 38.73 kB / 0.5782 GB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6441, allocations: 0 / 0.5782 GB, free: 14.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.6623, allocations: 3.831 MB / 0.5819 GB, free: 11.14 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.6626, allocations: 228.5 kB / 0.5822 GB, free: 10.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.372, allocations: 8.016 kB / 0.5822 GB, free: 10.87 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat