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.001201/0.001201, allocations: 96.83 kB / 15.69 MB, free: 488 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.001458/0.001458, allocations: 173.2 kB / 16.56 MB, free: 6.379 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.603/1.603, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4156/0.4156, allocations: 43.54 MB / 314.5 MB, free: 8.773 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.0007375/0.0007379, allocations: 14.66 kB / 383.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1459, allocations: 58.84 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002025/0.148, allocations: 1.455 MB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1498, allocations: 1.218 MB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.1499, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1501, allocations: 31.83 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1503, allocations: 47.84 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1507, allocations: 207.5 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.1508, allocations: 71.81 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.1509, allocations: 13.09 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.151, allocations: 51.7 kB / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.1511, allocations: 47.83 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1511, allocations: 4 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005995/0.1517, allocations: 487.2 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.1517, allocations: 23.91 kB / 446.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.1518, allocations: 41.64 kB / 446.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1521, allocations: 219.8 kB / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1521, allocations: 0 / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1521, allocations: 0 / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1521, allocations: 0 / 446.7 MB, free: 9.141 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.0005275/0.1527, allocations: 423 kB / 447.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1527, allocations: 12.03 kB / 447.1 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.1528, allocations: 19.77 kB / 447.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1529, allocations: 174.9 kB / 447.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1529, allocations: 12 kB / 447.3 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.153, allocations: 15.94 kB / 447.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.1533, allocations: 150.3 kB / 447.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1533, allocations: 0 / 447.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1533, allocations: 4 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1533, allocations: 8 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.1536, allocations: 147.8 kB / 447.6 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.1545, allocations: 0.5222 MB / 448.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.1548, allocations: 102.7 kB / 448.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1548, allocations: 4 kB / 448.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1548, allocations: 30.56 kB / 448.3 MB, free: 7.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1548, allocations: 3.938 kB / 448.3 MB, free: 7.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005325/0.1554, allocations: 185.6 kB / 448.4 MB, free: 7.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1554, allocations: 55.41 kB / 448.5 MB, free: 7.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.1555, allocations: 118 kB / 448.6 MB, free: 6.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1556, allocations: 25.7 kB / 448.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.1556, allocations: 111.8 kB / 448.8 MB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.1557, allocations: 43.39 kB / 448.8 MB, free: 6.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.1557, allocations: 4 kB / 448.8 MB, free: 6.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1558, allocations: 322.8 kB / 449.1 MB, free: 6.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.156, allocations: 39.97 kB / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.1561, allocations: 89.06 kB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1563, allocations: 51.91 kB / 449.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1563, allocations: 0 / 449.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003285/0.1566, allocations: 165.4 kB / 449.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1566, allocations: 8 kB / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1567, allocations: 0 / 449.5 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1567, allocations: 4.156 kB / 449.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1569, allocations: 59.89 kB / 449.5 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003565/0.1573, allocations: 0.5899 MB / 450.1 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1574, allocations: 15.84 kB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.1574, allocations: 7.984 kB / 450.1 MB, free: 5.391 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 (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.589e-05/0.1575, allocations: 129.9 kB / 450.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1576, allocations: 8.281 kB / 450.3 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.158, allocations: 185.8 kB / 450.5 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.158, allocations: 7.953 kB / 450.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.158, allocations: 0 / 450.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.158, allocations: 0 / 450.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1583, allocations: 209.6 kB / 450.7 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1583, allocations: 3.938 kB / 450.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.1585, allocations: 47.91 kB / 450.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1585, allocations: 7.938 kB / 450.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1585, allocations: 7.984 kB / 450.7 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003193/0.1588, allocations: 0.586 MB / 451.3 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1588, allocations: 0 / 451.3 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.1593, allocations: 311.5 kB / 451.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.1594, allocations: 101 kB / 451.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1594, allocations: 8 kB / 451.7 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1595, allocations: 4 kB / 451.7 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1596, allocations: 19.98 kB / 451.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1596, allocations: 3.984 kB / 451.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.1597, allocations: 87.28 kB / 451.8 MB, free: 3.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1597, allocations: 0 / 451.8 MB, free: 3.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.16, allocations: 79.83 kB / 451.9 MB, free: 3.488 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 (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.0003004/0.1604, allocations: 171.1 kB / 452.1 MB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004151/0.1608, allocations: 135.8 kB / 452.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1608, allocations: 0 / 452.2 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.161, allocations: 84.19 kB / 452.3 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1612, allocations: 4 kB / 452.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.1619, allocations: 375.8 kB / 452.7 MB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1622, allocations: 0.7043 MB / 453.4 MB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.83e-05/0.1623, allocations: 24.64 kB / 453.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.1624, allocations: 15.42 kB / 453.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1624, allocations: 0 / 453.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of Templates: time 0.2078/0.3702, allocations: 2.049 MB / 455.5 MB, free: 46.92 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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