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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001275, allocations: 109.1 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 189.5 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2277/0.2277, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 64.28 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1397, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.004019/0.1438, allocations: 1.791 MB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002556/0.1464, allocations: 1.372 MB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1466, allocations: 0 / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.1469, allocations: 55.67 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1472, allocations: 47.62 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.148, allocations: 255 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1482, allocations: 99.47 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.1482, allocations: 17.08 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1484, allocations: 55.72 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.1485, allocations: 43.77 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1485, allocations: 4 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008094/0.1494, allocations: 0.499 MB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.1494, allocations: 15.92 kB / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.1495, allocations: 43.67 kB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.1501, allocations: 359 kB / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1501, allocations: 0 / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1501, allocations: 0 / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1501, allocations: 0 / 0.4924 GB, free: 7.09 MB / 382.1 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.0006994/0.1508, allocations: 450.9 kB / 0.4929 GB, free: 6.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1509, allocations: 15.89 kB / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.1509, allocations: 12.84 kB / 0.4929 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1511, allocations: 172.3 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1511, allocations: 8.375 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1512, allocations: 20.03 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1515, allocations: 146.1 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1515, allocations: 3.938 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1516, allocations: 0 / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1516, allocations: 4 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.1519, allocations: 139.9 kB / 0.4934 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.1529, allocations: 0.5065 MB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.1532, allocations: 102.5 kB / 0.494 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1533, allocations: 56.83 kB / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1533, allocations: 0 / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.1534, allocations: 30.56 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1534, allocations: 0 / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000505/0.1539, allocations: 165.8 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1539, allocations: 51.41 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1541, allocations: 121.8 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1541, allocations: 25.7 kB / 0.4944 GB, free: 4.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.1542, allocations: 115.7 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.1543, allocations: 39.45 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.1543, allocations: 33.7 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1545, allocations: 322.8 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1547, allocations: 39.97 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1548, allocations: 76.92 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.1551, allocations: 141 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.1551, allocations: 3.984 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003518/0.1555, allocations: 161.4 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1555, allocations: 4 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.1555, allocations: 4 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1555, allocations: 4 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.1558, allocations: 47.97 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/0.1562, allocations: 0.59 MB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.1563, allocations: 23.94 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.1563, allocations: 7.984 kB / 0.4959 GB, free: 3.199 MB / 382.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.1564, allocations: 129.6 kB / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.1565, allocations: 3.906 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.1569, allocations: 170.2 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1569, allocations: 4 kB / 0.4962 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.157, allocations: 3.938 kB / 0.4962 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.157, allocations: 3.984 kB / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1573, allocations: 217.5 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1573, allocations: 0 / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.1575, allocations: 43.97 kB / 0.4965 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1575, allocations: 4 kB / 0.4965 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1575, allocations: 7.938 kB / 0.4965 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003584/0.1579, allocations: 0.5898 MB / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1579, allocations: 0 / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1583, allocations: 291.5 kB / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.1584, allocations: 96.97 kB / 0.4975 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1585, allocations: 4 kB / 0.4975 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1586, allocations: 11.98 kB / 0.4975 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.1586, allocations: 11.92 kB / 0.4975 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1586, allocations: 7.938 kB / 0.4975 GB, free: 1.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.906e-05/0.1587, allocations: 91.27 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1587, allocations: 0 / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.159, allocations: 75.94 kB / 0.4977 GB, free: 1.324 MB / 382.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004016/0.1595, allocations: 167.1 kB / 0.4978 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.1599, allocations: 123.9 kB / 0.4979 GB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1599, allocations: 0 / 0.4979 GB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1601, allocations: 71.89 kB / 0.498 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1604, allocations: 15.98 kB / 0.498 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.1612, allocations: 315.8 kB / 0.4983 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1615, allocations: 0.7041 MB / 0.499 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.655e-05/0.1616, allocations: 20.77 kB / 0.499 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1617, allocations: 19.38 kB / 0.499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1617, allocations: 0 / 0.499 GB, free: 15.84 MB / 398.1 MB Notification: Performance of Templates: time 0.006191/0.1679, allocations: 2.253 MB / 0.5012 GB, free: 13.6 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches