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.001015/0.001015, allocations: 102.6 kB / 16.02 MB, free: 76 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.001326/0.001327, allocations: 185.5 kB / 16.92 MB, free: 6.918 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.65/1.65, allocations: 205.4 MB / 223.1 MB, free: 5.547 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.4121/0.4121, allocations: 43.57 MB / 315 MB, free: 8.715 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.0007323/0.0007324, allocations: 12 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1393, allocations: 58.86 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002088/0.1414, allocations: 1.52 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.1435, allocations: 1.376 MB / 446.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.1436, allocations: 0 / 446.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1438, allocations: 35.83 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.144, allocations: 43.69 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.1446, allocations: 215.3 kB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1448, allocations: 99.47 kB / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.1449, allocations: 13.09 kB / 446.8 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.145, allocations: 43.78 kB / 446.8 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1452, allocations: 51.7 kB / 446.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1452, allocations: 4 kB / 446.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.146, allocations: 0.4912 MB / 447.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.146, allocations: 19.86 kB / 447.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.1461, allocations: 73.42 kB / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.1466, allocations: 343.3 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1466, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1466, allocations: 0 / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1466, allocations: 0 / 447.8 MB, free: 8.324 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.0005977/0.1472, allocations: 427.2 kB / 448.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1473, allocations: 8.031 kB / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.1473, allocations: 20.69 kB / 448.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1475, allocations: 176.2 kB / 448.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1475, allocations: 8.375 kB / 448.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.1476, allocations: 16.12 kB / 448.4 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.1479, allocations: 162.3 kB / 448.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1479, allocations: 0 / 448.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1479, allocations: 8 kB / 448.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.148, allocations: 4 kB / 448.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.1483, allocations: 139.9 kB / 448.7 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.1492, allocations: 0.5105 MB / 449.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.1495, allocations: 114.5 kB / 449.3 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1496, allocations: 52.83 kB / 449.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1497, allocations: 0 / 449.4 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1497, allocations: 38.55 kB / 449.4 MB, free: 6.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1497, allocations: 4 kB / 449.4 MB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005304/0.1502, allocations: 177.4 kB / 449.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1503, allocations: 55.41 kB / 449.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1505, allocations: 117.8 kB / 449.8 MB, free: 6.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1505, allocations: 25.7 kB / 449.8 MB, free: 6.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.1506, allocations: 119.7 kB / 449.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.1506, allocations: 39.41 kB / 450 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1508, allocations: 21.7 kB / 450 MB, free: 5.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1509, allocations: 318.8 kB / 450.3 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1511, allocations: 47.95 kB / 450.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.1513, allocations: 81.12 kB / 450.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1516, allocations: 140.9 kB / 450.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1516, allocations: 4 kB / 450.6 MB, free: 5.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003496/0.1519, allocations: 169.8 kB / 450.7 MB, free: 5.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.152, allocations: 8 kB / 450.7 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.152, allocations: 4.156 kB / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.152, allocations: 4 kB / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1522, allocations: 47.97 kB / 450.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004093/0.1526, allocations: 0.5898 MB / 451.4 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1527, allocations: 23.92 kB / 451.4 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1528, allocations: 8 kB / 451.4 MB, free: 4.387 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.0001168/0.1529, allocations: 117.8 kB / 451.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.1529, allocations: 4.375 kB / 451.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/0.1534, allocations: 185.8 kB / 451.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1534, allocations: 4 kB / 451.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1534, allocations: 3.938 kB / 451.7 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1534, allocations: 0 / 451.7 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.1538, allocations: 217.5 kB / 451.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1538, allocations: 8 kB / 451.9 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.154, allocations: 47.91 kB / 452 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.154, allocations: 4 kB / 452 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.154, allocations: 4 kB / 452 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004051/0.1544, allocations: 0.5899 MB / 452.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1545, allocations: 0 / 452.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.155, allocations: 311.4 kB / 452.9 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.1551, allocations: 100.9 kB / 453 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1552, allocations: 0 / 453 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1553, allocations: 8 kB / 453 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.1554, allocations: 15.92 kB / 453 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1554, allocations: 7.984 kB / 453 MB, free: 2.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.777e-05/0.1555, allocations: 87.28 kB / 453.1 MB, free: 2.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1555, allocations: 0 / 453.1 MB, free: 2.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.156, allocations: 75.83 kB / 453.2 MB, free: 2.5 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.0004721/0.1565, allocations: 175.1 kB / 453.3 MB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.157, allocations: 143.9 kB / 453.5 MB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.157, allocations: 0 / 453.5 MB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.1573, allocations: 84.2 kB / 453.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.1578, allocations: 11.94 kB / 453.6 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009282/0.1588, allocations: 383.7 kB / 454 MB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1591, allocations: 0.7082 MB / 454.7 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1593, allocations: 28.61 kB / 454.7 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1593, allocations: 11.44 kB / 454.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1593, allocations: 0 / 454.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of Templates: time 0.2248/0.3841, allocations: 2.111 MB / 456.8 MB, free: 45.96 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