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.001408/0.001408, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.552/1.552, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008845/0.0008844, allocations: 82.88 kB / 270.2 MB, free: 13.38 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.2216/0.2216, allocations: 43.55 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.5022, allocations: 93.01 MB / 0.5697 GB, free: 6.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5026, allocations: 99.5 kB / 0.5698 GB, free: 6.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02397/0.5265, allocations: 7.713 MB / 0.5773 GB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5266, allocations: 0 / 0.5773 GB, free: 15.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5266, allocations: 0 / 0.5773 GB, free: 15.96 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.0007577/0.5274, allocations: 460.1 kB / 0.5778 GB, free: 15.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5274, allocations: 8.031 kB / 0.5778 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.649e-05/0.5275, allocations: 46.17 kB / 0.5778 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.5276, allocations: 11.81 kB / 0.5778 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.5277, allocations: 175.6 kB / 0.578 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.5278, allocations: 15.69 kB / 0.578 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.5278, allocations: 11.81 kB / 0.578 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.5282, allocations: 138.2 kB / 0.5782 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.5282, allocations: 4 kB / 0.5782 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.5282, allocations: 6.5 kB / 0.5782 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.5282, allocations: 4 kB / 0.5782 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.5286, allocations: 147.3 kB / 0.5783 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.5296, allocations: 0.5205 MB / 0.5788 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.5299, allocations: 107.6 kB / 0.5789 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.53, allocations: 8.203 kB / 0.5789 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.53, allocations: 34.5 kB / 0.579 GB, free: 14.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.53, allocations: 0 / 0.579 GB, free: 14.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005154/0.5305, allocations: 177.8 kB / 0.5791 GB, free: 14.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.5306, allocations: 59.34 kB / 0.5792 GB, free: 14.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5307, allocations: 107.9 kB / 0.5793 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.5307, allocations: 25.7 kB / 0.5793 GB, free: 13.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.5308, allocations: 115.2 kB / 0.5794 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.5309, allocations: 42.14 kB / 0.5795 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.5309, allocations: 3.375 kB / 0.5795 GB, free: 13.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.531, allocations: 315.7 kB / 0.5798 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.5312, allocations: 46.16 kB / 0.5798 GB, free: 13.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.5313, allocations: 89.48 kB / 0.5799 GB, free: 13.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.5315, allocations: 50.42 kB / 0.58 GB, free: 13.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5315, allocations: 0 / 0.58 GB, free: 13.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003545/0.5318, allocations: 169.3 kB / 0.5801 GB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5319, allocations: 7.438 kB / 0.5801 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5319, allocations: 11.88 kB / 0.5801 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.5319, allocations: 0 / 0.5801 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.5321, allocations: 43.97 kB / 0.5802 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003607/0.5325, allocations: 0.5972 MB / 0.5808 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.5326, allocations: 19.27 kB / 0.5808 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.5327, allocations: 8 kB / 0.5808 GB, free: 12.44 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 () * 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.0001009/0.5328, allocations: 124.4 kB / 0.5809 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.5328, allocations: 11.84 kB / 0.5809 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.5333, allocations: 189.6 kB / 0.5811 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5333, allocations: 4 kB / 0.5811 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5333, allocations: 4 kB / 0.5811 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.5333, allocations: 3.953 kB / 0.5811 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.5336, allocations: 216.5 kB / 0.5813 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5336, allocations: 0 / 0.5813 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.5338, allocations: 39.97 kB / 0.5814 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5338, allocations: 0 / 0.5814 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.5338, allocations: 4 kB / 0.5814 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003331/0.5342, allocations: 0.5933 MB / 0.5819 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5342, allocations: 0 / 0.5819 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.5347, allocations: 308.1 kB / 0.5822 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.5348, allocations: 92.66 kB / 0.5823 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.5348, allocations: 0 / 0.5823 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.5349, allocations: 19.5 kB / 0.5823 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.535, allocations: 11.98 kB / 0.5824 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.535, allocations: 4 kB / 0.5824 GB, free: 10.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7e-05/0.5351, allocations: 94.89 kB / 0.5824 GB, free: 10.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5351, allocations: 3.938 kB / 0.5824 GB, free: 10.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004429/0.5355, allocations: 86.64 kB / 0.5825 GB, free: 10.65 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 () * 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.001176/0.5367, allocations: 0.9388 MB / 0.5834 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.5371, allocations: 131.8 kB / 0.5836 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5371, allocations: 320 / 0.5836 GB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.5373, allocations: 81.45 kB / 0.5837 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.5376, allocations: 7.328 kB / 0.5837 GB, free: 9.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5395, allocations: 1.569 MB / 0.5852 GB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5399, allocations: 0.7082 MB / 0.5859 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.54, allocations: 20.53 kB / 0.5859 GB, free: 7.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.5401, allocations: 42.23 kB / 0.5859 GB, free: 7.207 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5401, allocations: 0 / 0.5859 GB, free: 7.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.5592, allocations: 3.73 MB / 0.5896 GB, free: 3.551 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/0.5596, allocations: 249.8 kB / 0.5898 GB, free: 3.215 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.308, allocations: 3.906 kB / 0.5898 GB, free: 3.211 MB / 394.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