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.001028/0.001028, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008532, allocations: 90.61 kB / 261.7 MB, free: 1.684 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.2126/0.2126, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.716e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1261, allocations: 58.85 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5464, allocations: 92.26 MB / 0.5561 GB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5467, allocations: 96.22 kB / 0.5562 GB, free: 2.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02215/0.5689, allocations: 7.64 MB / 0.5637 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.569, allocations: 0 / 0.5637 GB, free: 12.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.569, allocations: 0 / 0.5637 GB, free: 12.27 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.000591/0.5696, allocations: 445.2 kB / 0.5641 GB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.5697, allocations: 12.03 kB / 0.5641 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.5697, allocations: 11.89 kB / 0.5641 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5699, allocations: 186.8 kB / 0.5643 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5699, allocations: 4 kB / 0.5643 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.5699, allocations: 8 kB / 0.5643 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002144/0.5701, allocations: 101.1 kB / 0.5644 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.5704, allocations: 109.6 kB / 0.5645 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5704, allocations: 0 / 0.5645 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.5704, allocations: 4 kB / 0.5645 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5704, allocations: 4 kB / 0.5645 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009032/0.5713, allocations: 498.5 kB / 0.565 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.5715, allocations: 92.05 kB / 0.5651 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.5716, allocations: 31.55 kB / 0.5651 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.5716, allocations: 4 kB / 0.5651 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.5716, allocations: 30.56 kB / 0.5652 GB, free: 10.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.5716, allocations: 0 / 0.5652 GB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002186/0.5719, allocations: 94.52 kB / 0.5653 GB, free: 10.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.5719, allocations: 55.41 kB / 0.5653 GB, free: 10.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.572, allocations: 112.9 kB / 0.5654 GB, free: 10.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.572, allocations: 25.7 kB / 0.5654 GB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.5721, allocations: 114.5 kB / 0.5656 GB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.5721, allocations: 38.58 kB / 0.5656 GB, free: 10.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.5722, allocations: 0 / 0.5656 GB, free: 10.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5723, allocations: 315.7 kB / 0.5659 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.5723, allocations: 26.8 kB / 0.5659 GB, free: 9.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.5724, allocations: 65 kB / 0.566 GB, free: 9.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.5725, allocations: 34.91 kB / 0.566 GB, free: 9.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5725, allocations: 3.953 kB / 0.566 GB, free: 9.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001734/0.5726, allocations: 123.6 kB / 0.5661 GB, free: 9.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5727, allocations: 8 kB / 0.5661 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5727, allocations: 0 / 0.5661 GB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5727, allocations: 4 kB / 0.5661 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.5729, allocations: 47.77 kB / 0.5662 GB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000337/0.5733, allocations: 0.5938 MB / 0.5668 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.5734, allocations: 15.89 kB / 0.5668 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.5734, allocations: 7.953 kB / 0.5668 GB, free: 9.074 MB / 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 8.587e-05/0.5735, allocations: 112.9 kB / 0.5669 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000147/0.5737, allocations: 99.64 kB / 0.567 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.5737, allocations: 7.906 kB / 0.567 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.574, allocations: 139.9 kB / 0.5671 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.574, allocations: 0 / 0.5671 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.574, allocations: 3.953 kB / 0.5671 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.574, allocations: 0 / 0.5671 GB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.5743, allocations: 184.5 kB / 0.5673 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5743, allocations: 0 / 0.5673 GB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.5745, allocations: 47.91 kB / 0.5674 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5745, allocations: 0 / 0.5674 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5745, allocations: 7.938 kB / 0.5674 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002853/0.5748, allocations: 0.582 MB / 0.5679 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5748, allocations: 7.984 kB / 0.5679 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.5751, allocations: 242.9 kB / 0.5682 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.5752, allocations: 100.6 kB / 0.5683 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.5752, allocations: 0 / 0.5683 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5753, allocations: 15.94 kB / 0.5683 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.5754, allocations: 11.98 kB / 0.5683 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.5754, allocations: 4 kB / 0.5683 GB, free: 7.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.5754, allocations: 93.78 kB / 0.5684 GB, free: 7.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5754, allocations: 4.062 kB / 0.5684 GB, free: 7.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.5758, allocations: 75.77 kB / 0.5685 GB, free: 7.352 MB / 378.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.0007321/0.5766, allocations: 0.8787 MB / 0.5693 GB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.5768, allocations: 81.98 kB / 0.5694 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5768, allocations: 0 / 0.5694 GB, free: 6.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.577, allocations: 59.67 kB / 0.5695 GB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.5772, allocations: 4.266 kB / 0.5695 GB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006428/0.5778, allocations: 257.2 kB / 0.5697 GB, free: 6.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.5781, allocations: 0.708 MB / 0.5704 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.5782, allocations: 16.78 kB / 0.5704 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.5782, allocations: 30.73 kB / 0.5705 GB, free: 5.328 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5782, allocations: 0 / 0.5705 GB, free: 5.328 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.598, allocations: 3.109 MB / 0.5735 GB, free: 2.227 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.5982, allocations: 187.4 kB / 0.5737 GB, free: 2.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.378, allocations: 0 / 0.5737 GB, free: 2.039 MB / 378.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