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.001127/0.001127, allocations: 105.2 kB / 16.27 MB, free: 5.988 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.001139/0.001139, allocations: 184.7 kB / 17.19 MB, free: 5.609 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.532/1.532, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2284/0.2284, allocations: 43.52 MB / 313.9 MB, free: 0.5469 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.001801/0.001801, allocations: 67.53 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1343, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00362/0.138, allocations: 1.787 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1403, allocations: 1.384 MB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1405, allocations: 0 / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1408, allocations: 47.73 kB / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1411, allocations: 51.64 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.1418, allocations: 243.1 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.142, allocations: 107.4 kB / 444.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.142, allocations: 5.406 kB / 444.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1422, allocations: 47.72 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1423, allocations: 51.7 kB / 444.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1423, allocations: 4 kB / 444.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008067/0.1431, allocations: 0.4952 MB / 444.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.1432, allocations: 19.86 kB / 444.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.1433, allocations: 35.75 kB / 444.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.1439, allocations: 359 kB / 445.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1439, allocations: 0 / 445.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1439, allocations: 0 / 445.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.144, allocations: 0 / 445.2 MB, free: 2.246 MB / 318.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.0007846/0.1447, allocations: 443.1 kB / 445.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.1448, allocations: 15.89 kB / 445.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.1449, allocations: 8.844 kB / 445.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.1451, allocations: 176.2 kB / 445.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1451, allocations: 12.38 kB / 445.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.1451, allocations: 16.12 kB / 445.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.1455, allocations: 137.5 kB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1455, allocations: 0 / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1456, allocations: 8 kB / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1456, allocations: 0 / 446 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1459, allocations: 143.8 kB / 446.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.1468, allocations: 0.5182 MB / 446.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1471, allocations: 110.6 kB / 446.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.1472, allocations: 48.83 kB / 446.8 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.1472, allocations: 4 kB / 446.8 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1473, allocations: 34.56 kB / 446.8 MB, free: 424 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.1473, allocations: 3.938 kB / 446.8 MB, free: 420 kB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004616/0.1477, allocations: 161.5 kB / 447 MB, free: 252 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1478, allocations: 51.41 kB / 447 MB, free: 188 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.1479, allocations: 121.7 kB / 447.1 MB, free: 56 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1479, allocations: 25.7 kB / 447.2 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.148, allocations: 111.8 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.148, allocations: 39.39 kB / 447.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.1481, allocations: 37.7 kB / 447.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1482, allocations: 318.8 kB / 447.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1484, allocations: 39.97 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1485, allocations: 84.58 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.1488, allocations: 129 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1488, allocations: 0 / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000363/0.1492, allocations: 165.4 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1492, allocations: 4 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1492, allocations: 0 / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1493, allocations: 4 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.1495, allocations: 47.91 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003604/0.1499, allocations: 0.59 MB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.15, allocations: 23.86 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.15, allocations: 4 kB / 448.7 MB, free: 14.36 MB / 334.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.0001246/0.1502, allocations: 121.7 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1502, allocations: 7.906 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1506, allocations: 174.3 kB / 449 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1507, allocations: 0 / 449 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1507, allocations: 3.938 kB / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1507, allocations: 0 / 449 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.151, allocations: 221.5 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.151, allocations: 0 / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1512, allocations: 47.91 kB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1512, allocations: 0 / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.1512, allocations: 8 kB / 449.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003104/0.1515, allocations: 0.586 MB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1516, allocations: 0 / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1521, allocations: 291.5 kB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.1522, allocations: 96.92 kB / 450.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1522, allocations: 4 kB / 450.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1523, allocations: 4 kB / 450.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.1524, allocations: 15.92 kB / 450.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1524, allocations: 11.98 kB / 450.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.668e-05/0.1525, allocations: 87.28 kB / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1525, allocations: 4.062 kB / 450.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.1528, allocations: 75.86 kB / 450.5 MB, free: 12.5 MB / 334.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.0003749/0.1532, allocations: 187.2 kB / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.1537, allocations: 131.5 kB / 450.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1537, allocations: 0 / 450.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1539, allocations: 75.89 kB / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1542, allocations: 11.12 kB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.155, allocations: 319.7 kB / 451.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1553, allocations: 0.7041 MB / 451.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.744e-05/0.1554, allocations: 16.55 kB / 451.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1555, allocations: 15.44 kB / 451.9 MB, free: 11 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1555, allocations: 0 / 451.9 MB, free: 11 MB / 334.1 MB Notification: Performance of Templates: time 0.006248/0.1617, allocations: 2.242 MB / 454.2 MB, free: 8.789 MB / 334.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