Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001065/0.001065, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000892/0.0008919, allocations: 85.34 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1873/0.1873, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.796e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 63.24 MB / 0.5115 GB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.4977, allocations: 95.12 MB / 0.6044 GB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.4981, allocations: 95.55 kB / 0.6045 GB, free: 14.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02259/0.5207, allocations: 7.914 MB / 0.6122 GB, free: 7.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5207, allocations: 0 / 0.6122 GB, free: 7.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.5207, allocations: 4 kB / 0.6122 GB, free: 7.801 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.0004863/0.5212, allocations: 437.9 kB / 0.6126 GB, free: 7.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5213, allocations: 8.031 kB / 0.6126 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.5213, allocations: 49.48 kB / 0.6127 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.5214, allocations: 11.91 kB / 0.6127 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5215, allocations: 182.2 kB / 0.6129 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5215, allocations: 7.812 kB / 0.6129 GB, free: 7.047 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.5215, allocations: 11.31 kB / 0.6129 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.5217, allocations: 125.2 kB / 0.613 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5218, allocations: 0 / 0.613 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5218, allocations: 3.5 kB / 0.613 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5218, allocations: 4 kB / 0.613 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.522, allocations: 110 kB / 0.6131 GB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.5227, allocations: 0.5317 MB / 0.6136 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.5229, allocations: 87.73 kB / 0.6137 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.523, allocations: 40.91 kB / 0.6137 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.523, allocations: 7.984 kB / 0.6138 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5231, allocations: 33.94 kB / 0.6138 GB, free: 6.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.5231, allocations: 0 / 0.6138 GB, free: 6.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002173/0.5233, allocations: 93.36 kB / 0.6139 GB, free: 6.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.5233, allocations: 55.41 kB / 0.6139 GB, free: 6.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.5234, allocations: 117 kB / 0.614 GB, free: 5.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5234, allocations: 37.2 kB / 0.6141 GB, free: 5.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.5235, allocations: 107.1 kB / 0.6142 GB, free: 5.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.5235, allocations: 39.7 kB / 0.6142 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.5235, allocations: 4 kB / 0.6142 GB, free: 5.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.5236, allocations: 317.9 kB / 0.6145 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.5237, allocations: 27.67 kB / 0.6146 GB, free: 5.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.5237, allocations: 71.28 kB / 0.6146 GB, free: 5.309 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.146e-05/0.5238, allocations: 43.09 kB / 0.6147 GB, free: 5.277 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5238, allocations: 0 / 0.6147 GB, free: 5.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000194/0.524, allocations: 127.4 kB / 0.6148 GB, free: 5.168 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.524, allocations: 12.16 kB / 0.6148 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.5241, allocations: 0 / 0.6148 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5241, allocations: 7.938 kB / 0.6148 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.5243, allocations: 51.89 kB / 0.6149 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003338/0.5246, allocations: 0.5816 MB / 0.6154 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.5248, allocations: 27.52 kB / 0.6154 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.5248, allocations: 7.938 kB / 0.6155 GB, free: 4.465 MB / 410.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 7.595e-05/0.5249, allocations: 108.9 kB / 0.6156 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.5249, allocations: 7.906 kB / 0.6156 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.5252, allocations: 149.6 kB / 0.6157 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5252, allocations: 0 / 0.6157 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5252, allocations: 0 / 0.6157 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5252, allocations: 3.953 kB / 0.6157 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.5255, allocations: 218.5 kB / 0.6159 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5255, allocations: 4 kB / 0.6159 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.5257, allocations: 39.97 kB / 0.616 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5257, allocations: 3.984 kB / 0.616 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5257, allocations: 7.5 kB / 0.616 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003246/0.526, allocations: 0.589 MB / 0.6165 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5261, allocations: 0 / 0.6165 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.5263, allocations: 253.3 kB / 0.6168 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.5264, allocations: 92.97 kB / 0.6169 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.5264, allocations: 19.62 kB / 0.6169 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.5266, allocations: 7.953 kB / 0.6169 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.5266, allocations: 11.23 kB / 0.6169 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.5266, allocations: 7.984 kB / 0.6169 GB, free: 2.941 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.5267, allocations: 86.97 kB / 0.617 GB, free: 2.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5267, allocations: 0 / 0.617 GB, free: 2.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.5271, allocations: 90.92 kB / 0.6171 GB, free: 2.777 MB / 410.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.0007596/0.5279, allocations: 0.9078 MB / 0.618 GB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.5281, allocations: 103.2 kB / 0.6181 GB, free: 1.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5281, allocations: 0 / 0.6181 GB, free: 1.812 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5283, allocations: 53.23 kB / 0.6181 GB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.5284, allocations: 22.56 kB / 0.6181 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.5291, allocations: 254.1 kB / 0.6184 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.5293, allocations: 0.7124 MB / 0.6191 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.065e-05/0.5294, allocations: 16.55 kB / 0.6191 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.5295, allocations: 36.36 kB / 0.6191 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5295, allocations: 0 / 0.6191 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.5454, allocations: 3.913 MB / 0.623 GB, free: 13.05 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.5457, allocations: 223.4 kB / 0.6232 GB, free: 12.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.094, allocations: 0 / 0.6232 GB, free: 12.8 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat