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.001484/0.001484, allocations: 167.8 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 96.58 kB / 281.6 MB, free: 5.273 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.2591/0.2591, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.15e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5395, allocations: 93.39 MB / 0.586 GB, free: 3.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.5399, allocations: 99.92 kB / 0.5861 GB, free: 2.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02356/0.5635, allocations: 7.784 MB / 0.5937 GB, free: 11.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5635, allocations: 0 / 0.5937 GB, free: 11.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.5635, allocations: 0 / 0.5937 GB, free: 11.13 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.0005417/0.5641, allocations: 442.1 kB / 0.5941 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5641, allocations: 15.98 kB / 0.5941 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.5642, allocations: 7.906 kB / 0.5941 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.5643, allocations: 178.8 kB / 0.5943 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5643, allocations: 4 kB / 0.5943 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.5644, allocations: 11.95 kB / 0.5943 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001927/0.5646, allocations: 104.5 kB / 0.5944 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.5648, allocations: 114.8 kB / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5648, allocations: 8 kB / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5648, allocations: 0 / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.5648, allocations: 4 kB / 0.5945 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.5658, allocations: 495.3 kB / 0.595 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.566, allocations: 78.69 kB / 0.5951 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.566, allocations: 33.08 kB / 0.5951 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.5661, allocations: 11.92 kB / 0.5951 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.5661, allocations: 38.45 kB / 0.5952 GB, free: 9.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/0.5661, allocations: 4 kB / 0.5952 GB, free: 9.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002182/0.5663, allocations: 93.58 kB / 0.5953 GB, free: 9.352 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5664, allocations: 51.41 kB / 0.5953 GB, free: 9.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.5665, allocations: 97.19 kB / 0.5954 GB, free: 9.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.5665, allocations: 25.7 kB / 0.5954 GB, free: 9.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.5665, allocations: 119.5 kB / 0.5955 GB, free: 9.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.5666, allocations: 39.41 kB / 0.5956 GB, free: 8.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-06/0.5666, allocations: 384 / 0.5956 GB, free: 8.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5667, allocations: 314.8 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.5668, allocations: 28 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.5668, allocations: 66.48 kB / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.5669, allocations: 39.86 kB / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5669, allocations: 4 kB / 0.596 GB, free: 8.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000179/0.5671, allocations: 117.5 kB / 0.5961 GB, free: 8.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5671, allocations: 8 kB / 0.5961 GB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5671, allocations: 0 / 0.5961 GB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.5672, allocations: 11.89 kB / 0.5961 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.5674, allocations: 43.97 kB / 0.5962 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000383/0.5678, allocations: 0.5979 MB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5679, allocations: 15.84 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.5679, allocations: 7.984 kB / 0.5968 GB, free: 7.695 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 9.015e-05/0.568, allocations: 105 kB / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001579/0.5682, allocations: 101.5 kB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.5682, allocations: 11.84 kB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.5685, allocations: 138.3 kB / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5685, allocations: 0 / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5685, allocations: 0 / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5685, allocations: 0 / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.5688, allocations: 186 kB / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5688, allocations: 0 / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.569, allocations: 43.97 kB / 0.5973 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.569, allocations: 0 / 0.5973 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.569, allocations: 7.984 kB / 0.5974 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003355/0.5694, allocations: 0.5821 MB / 0.5979 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5694, allocations: 4.094 kB / 0.5979 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.5696, allocations: 254.1 kB / 0.5982 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.5697, allocations: 93.03 kB / 0.5983 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.5697, allocations: 0 / 0.5983 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5699, allocations: 11.98 kB / 0.5983 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.5699, allocations: 7.984 kB / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5699, allocations: 8 kB / 0.5983 GB, free: 6.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.701e-05/0.57, allocations: 99.27 kB / 0.5984 GB, free: 5.953 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.57, allocations: 0 / 0.5984 GB, free: 5.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.5704, allocations: 87.7 kB / 0.5985 GB, free: 5.867 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.0007579/0.5711, allocations: 0.8726 MB / 0.5993 GB, free: 4.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.5714, allocations: 95.84 kB / 0.5994 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5714, allocations: 0 / 0.5994 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5715, allocations: 47.98 kB / 0.5995 GB, free: 4.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.5717, allocations: 8.312 kB / 0.5995 GB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.5724, allocations: 240.3 kB / 0.5997 GB, free: 4.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.5727, allocations: 0.7079 MB / 0.6004 GB, free: 3.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.962e-05/0.5728, allocations: 24.53 kB / 0.6004 GB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.5728, allocations: 35.42 kB / 0.6004 GB, free: 3.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5728, allocations: 0 / 0.6004 GB, free: 3.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.594, allocations: 3.095 MB / 0.6035 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.5942, allocations: 193.9 kB / 0.6036 GB, free: 500 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.132, allocations: 0 / 0.6036 GB, free: 500 kB / 410.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