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.001423/0.001423, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.641/1.641, allocations: 205.1 MB / 222.6 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.402/0.402, allocations: 43.49 MB / 313.5 MB, free: 8.383 MB / 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.001566/0.001566, allocations: 67.91 kB / 382.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1386, allocations: 57.79 MB / 439.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003657/0.1423, allocations: 1.859 MB / 441.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.1446, allocations: 1.396 MB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.1446, allocations: 0 / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1449, allocations: 31.83 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1451, allocations: 47.69 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.1455, allocations: 207.3 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1457, allocations: 103.4 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.1457, allocations: 17.08 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1459, allocations: 43.8 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.146, allocations: 47.72 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.146, allocations: 7.984 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007252/0.1467, allocations: 0.4912 MB / 444.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.1468, allocations: 7.922 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.1468, allocations: 51.66 kB / 444.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.1474, allocations: 347.3 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1474, allocations: 0 / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1474, allocations: 4 kB / 444.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1474, allocations: 4 kB / 444.5 MB, free: 10.23 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.0007163/0.1481, allocations: 439 kB / 444.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1482, allocations: 12.03 kB / 444.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.1483, allocations: 8.844 kB / 444.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1484, allocations: 180.2 kB / 445.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1484, allocations: 8.375 kB / 445.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1485, allocations: 16.12 kB / 445.1 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1488, allocations: 150.3 kB / 445.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1488, allocations: 7.984 kB / 445.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1489, allocations: 4 kB / 445.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1489, allocations: 4 kB / 445.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.1492, allocations: 131.9 kB / 445.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009458/0.1501, allocations: 0.5105 MB / 445.9 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1504, allocations: 102.5 kB / 446 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1506, allocations: 56.77 kB / 446.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1506, allocations: 4 kB / 446.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1507, allocations: 34.56 kB / 446.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1507, allocations: 0 / 446.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005799/0.1513, allocations: 161.5 kB / 446.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.1513, allocations: 51.41 kB / 446.3 MB, free: 8.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1515, allocations: 117.8 kB / 446.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1515, allocations: 33.7 kB / 446.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.1516, allocations: 115.7 kB / 446.6 MB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.1517, allocations: 43.33 kB / 446.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.1517, allocations: 33.72 kB / 446.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1519, allocations: 314.8 kB / 447 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.152, allocations: 39.97 kB / 447 MB, free: 7.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1522, allocations: 81.11 kB / 447.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.1525, allocations: 133.4 kB / 447.2 MB, free: 7.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1525, allocations: 0 / 447.2 MB, free: 7.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003357/0.1528, allocations: 161.3 kB / 447.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1529, allocations: 7.984 kB / 447.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1529, allocations: 8.156 kB / 447.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1529, allocations: 0 / 447.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1531, allocations: 51.91 kB / 447.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004216/0.1536, allocations: 0.586 MB / 448 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1537, allocations: 23.8 kB / 448.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.1537, allocations: 8 kB / 448.1 MB, free: 6.344 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.0001077/0.1538, allocations: 121.9 kB / 448.2 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1539, allocations: 7.906 kB / 448.2 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/0.1543, allocations: 182.2 kB / 448.4 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1543, allocations: 0 / 448.4 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.1543, allocations: 7.938 kB / 448.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1544, allocations: 0 / 448.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.1547, allocations: 217.5 kB / 448.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1547, allocations: 0 / 448.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.155, allocations: 39.97 kB / 448.6 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.155, allocations: 4 kB / 448.6 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.155, allocations: 0 / 448.6 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003168/0.1553, allocations: 0.6015 MB / 449.2 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1553, allocations: 0 / 449.2 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.1558, allocations: 291.4 kB / 449.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.1559, allocations: 97.12 kB / 449.6 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.1559, allocations: 4 kB / 449.6 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.156, allocations: 7.984 kB / 449.6 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.1561, allocations: 15.98 kB / 449.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1561, allocations: 4 kB / 449.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.1561, allocations: 91.2 kB / 449.7 MB, free: 4.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1562, allocations: 0 / 449.7 MB, free: 4.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003628/0.1565, allocations: 75.88 kB / 449.8 MB, free: 4.48 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.0003146/0.1568, allocations: 171.1 kB / 450 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.1573, allocations: 127.9 kB / 450.1 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1573, allocations: 0 / 450.1 MB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.1575, allocations: 75.89 kB / 450.2 MB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1579, allocations: 23.53 kB / 450.2 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.1586, allocations: 362.1 kB / 450.6 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1589, allocations: 0.7043 MB / 451.3 MB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.159, allocations: 28.62 kB / 451.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.159, allocations: 15.42 kB / 451.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.159, allocations: 0 / 451.3 MB, free: 2.934 MB / 382.1 MB Notification: Performance of Templates: time 0.005469/0.1645, allocations: 2.131 MB / 453.4 MB, free: 0.8086 MB / 382.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","../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