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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.285/1.285, allocations: 221.3 MB / 236 MB, free: 2.934 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.0008842/0.0008842, allocations: 79.94 kB / 287 MB, free: 212 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1738/0.1738, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.868e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.5042, allocations: 94.05 MB / 0.5936 GB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.5046, allocations: 103.9 kB / 0.5937 GB, free: 11.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.5279, allocations: 7.833 MB / 0.6013 GB, free: 3.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5279, allocations: 0 / 0.6013 GB, free: 3.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.5279, allocations: 0 / 0.6013 GB, free: 3.309 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.0005166/0.5284, allocations: 432.2 kB / 0.6017 GB, free: 2.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5285, allocations: 12.03 kB / 0.6017 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.5285, allocations: 15.84 kB / 0.6017 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.5287, allocations: 178.8 kB / 0.6019 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.5287, allocations: 8.5 kB / 0.6019 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.5287, allocations: 15.95 kB / 0.6019 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.529, allocations: 129.6 kB / 0.6021 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.529, allocations: 0 / 0.6021 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.529, allocations: 8 kB / 0.6021 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.529, allocations: 0 / 0.6021 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.5292, allocations: 117 kB / 0.6022 GB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/0.53, allocations: 0.5221 MB / 0.6027 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.5302, allocations: 86.62 kB / 0.6028 GB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.5303, allocations: 45.03 kB / 0.6028 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.5303, allocations: 7.938 kB / 0.6028 GB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.5303, allocations: 30.56 kB / 0.6029 GB, free: 1.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.5303, allocations: 0 / 0.6029 GB, free: 1.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000254/0.5306, allocations: 93.67 kB / 0.6029 GB, free: 1.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.5306, allocations: 55.39 kB / 0.603 GB, free: 1.383 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.5307, allocations: 105.1 kB / 0.6031 GB, free: 1.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.5308, allocations: 33.7 kB / 0.6031 GB, free: 1.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.5308, allocations: 115.6 kB / 0.6032 GB, free: 1.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.5309, allocations: 39.39 kB / 0.6033 GB, free: 1.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.5309, allocations: 4 kB / 0.6033 GB, free: 1.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.531, allocations: 322.9 kB / 0.6036 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.5311, allocations: 24 kB / 0.6036 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.846e-05/0.5312, allocations: 74.12 kB / 0.6037 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.451e-05/0.5312, allocations: 31.92 kB / 0.6037 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.5312, allocations: 4 kB / 0.6037 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002078/0.5314, allocations: 137.6 kB / 0.6039 GB, free: 468 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5315, allocations: 12.92 kB / 0.6039 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5315, allocations: 0 / 0.6039 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5315, allocations: 4.375 kB / 0.6039 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.5317, allocations: 47.91 kB / 0.6039 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003548/0.5321, allocations: 0.5822 MB / 0.6045 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.5322, allocations: 27.92 kB / 0.6045 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.5322, allocations: 7.938 kB / 0.6045 GB, free: 15.75 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 () * 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.921e-05/0.5323, allocations: 116.9 kB / 0.6046 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.5324, allocations: 11.89 kB / 0.6046 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.5326, allocations: 139.6 kB / 0.6048 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5327, allocations: 11.88 kB / 0.6048 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5327, allocations: 0 / 0.6048 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5327, allocations: 7.922 kB / 0.6048 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.5329, allocations: 217.4 kB / 0.605 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.5329, allocations: 3.984 kB / 0.605 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.5331, allocations: 43.97 kB / 0.605 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5332, allocations: 4 kB / 0.605 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5332, allocations: 8 kB / 0.6051 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002705/0.5335, allocations: 0.5782 MB / 0.6056 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5335, allocations: 0 / 0.6056 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.5338, allocations: 251.3 kB / 0.6059 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.5338, allocations: 105.2 kB / 0.606 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.5339, allocations: 3.984 kB / 0.606 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.534, allocations: 12 kB / 0.606 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.534, allocations: 11.97 kB / 0.606 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5341, allocations: 4 kB / 0.606 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.5341, allocations: 87.28 kB / 0.6061 GB, free: 14.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5341, allocations: 0 / 0.6061 GB, free: 14.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.5345, allocations: 87.86 kB / 0.6062 GB, free: 13.95 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 () * 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.0003797/0.5349, allocations: 205.7 kB / 0.6064 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.5351, allocations: 99.91 kB / 0.6064 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5351, allocations: 4.344 kB / 0.6065 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.5353, allocations: 55.92 kB / 0.6065 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.5355, allocations: 15.89 kB / 0.6065 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.5359, allocations: 188.7 kB / 0.6067 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.5362, allocations: 0.7082 MB / 0.6074 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.882e-05/0.5363, allocations: 16.55 kB / 0.6074 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.5364, allocations: 19.44 kB / 0.6074 GB, free: 12.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5364, allocations: 0 / 0.6074 GB, free: 12.59 MB / 426.7 MB Notification: Performance of Templates: time 0.0051/0.5415, allocations: 2.364 MB / 0.6097 GB, free: 10.26 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches