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.001193/0.001193, allocations: 177 kB / 17.06 MB, free: 5.094 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.423/1.423, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009336, allocations: 94.08 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.352/0.352, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3692, allocations: 61.91 MB / 0.5097 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4979, allocations: 94.13 MB / 0.6016 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4982, allocations: 103.9 kB / 0.6017 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.5217, allocations: 7.85 MB / 0.6093 GB, free: 8.996 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5218, allocations: 0 / 0.6093 GB, free: 8.996 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.5218, allocations: 4 kB / 0.6094 GB, free: 8.992 MB / 426.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.0006327/0.5224, allocations: 454.8 kB / 0.6098 GB, free: 8.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5225, allocations: 8.031 kB / 0.6098 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.5226, allocations: 38.56 kB / 0.6098 GB, free: 8.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.5226, allocations: 19.81 kB / 0.6099 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.5227, allocations: 178.9 kB / 0.61 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5228, allocations: 4 kB / 0.61 GB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.5228, allocations: 15.95 kB / 0.61 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.5231, allocations: 143.9 kB / 0.6102 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5231, allocations: 0 / 0.6102 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.5232, allocations: 4 kB / 0.6102 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5232, allocations: 7.938 kB / 0.6102 GB, free: 8.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.5235, allocations: 143.9 kB / 0.6103 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.5244, allocations: 0.53 MB / 0.6108 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.5247, allocations: 106.5 kB / 0.6109 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.5248, allocations: 8 kB / 0.611 GB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.5248, allocations: 34.56 kB / 0.611 GB, free: 7.133 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.5248, allocations: 0 / 0.611 GB, free: 7.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005031/0.5253, allocations: 181.6 kB / 0.6112 GB, free: 6.949 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.5254, allocations: 55.41 kB / 0.6112 GB, free: 6.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.5255, allocations: 105.1 kB / 0.6113 GB, free: 6.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.5255, allocations: 29.7 kB / 0.6113 GB, free: 6.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.5256, allocations: 111.7 kB / 0.6114 GB, free: 6.621 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.5256, allocations: 39.45 kB / 0.6115 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.5256, allocations: 0 / 0.6115 GB, free: 6.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5257, allocations: 322.8 kB / 0.6118 GB, free: 6.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.5259, allocations: 43.97 kB / 0.6118 GB, free: 6.215 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.526, allocations: 85.11 kB / 0.6119 GB, free: 6.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.5262, allocations: 51.92 kB / 0.612 GB, free: 6.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5262, allocations: 0 / 0.612 GB, free: 6.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003533/0.5265, allocations: 173.3 kB / 0.6121 GB, free: 5.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5266, allocations: 11.95 kB / 0.6121 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5266, allocations: 0 / 0.6121 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5266, allocations: 4 kB / 0.6121 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.5268, allocations: 48.11 kB / 0.6122 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003395/0.5272, allocations: 0.586 MB / 0.6128 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.5273, allocations: 23.86 kB / 0.6128 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.5273, allocations: 8 kB / 0.6128 GB, free: 5.184 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 () * Number of clocked 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.0001067/0.5275, allocations: 118.4 kB / 0.6129 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.5275, allocations: 11.91 kB / 0.6129 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.528, allocations: 186.1 kB / 0.6131 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.528, allocations: 4 kB / 0.6131 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.528, allocations: 0 / 0.6131 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.528, allocations: 3.984 kB / 0.6131 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.5283, allocations: 213.5 kB / 0.6133 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5283, allocations: 3.984 kB / 0.6133 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.5285, allocations: 43.97 kB / 0.6134 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5285, allocations: 4 kB / 0.6134 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5285, allocations: 4 kB / 0.6134 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003507/0.5289, allocations: 0.5821 MB / 0.6139 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5289, allocations: 0 / 0.6139 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.5294, allocations: 311.4 kB / 0.6142 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.5295, allocations: 97.02 kB / 0.6143 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.5296, allocations: 0 / 0.6143 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.5297, allocations: 16.05 kB / 0.6143 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.5298, allocations: 11.98 kB / 0.6143 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5298, allocations: 4 kB / 0.6143 GB, free: 3.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.5299, allocations: 99.14 kB / 0.6144 GB, free: 3.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5299, allocations: 0 / 0.6144 GB, free: 3.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005169/0.5304, allocations: 95.7 kB / 0.6145 GB, free: 3.277 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 () * Number of clocked 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.00132/0.5317, allocations: 0.9325 MB / 0.6154 GB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004322/0.5322, allocations: 136 kB / 0.6156 GB, free: 2.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5322, allocations: 4 kB / 0.6156 GB, free: 2.188 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.5324, allocations: 75.88 kB / 0.6157 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.5327, allocations: 8.766 kB / 0.6157 GB, free: 2.105 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.5347, allocations: 1.58 MB / 0.6172 GB, free: 468 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.5351, allocations: 0.7121 MB / 0.6179 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.5352, allocations: 24.75 kB / 0.6179 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.5352, allocations: 31.42 kB / 0.618 GB, free: 15.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5353, allocations: 0 / 0.618 GB, free: 15.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.5522, allocations: 3.713 MB / 0.6216 GB, free: 12.21 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.5524, allocations: 269.4 kB / 0.6218 GB, free: 11.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.317, allocations: 2.812 kB / 0.6218 GB, free: 11.86 MB / 442.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