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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 167.8 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 158.6 MB / 185.5 MB, free: 6.137 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 32.38 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 71.91 kB / 407.8 MB, free: 5.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1432, allocations: 61.04 MB / 468.8 MB, free: 8.277 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003715/0.147, allocations: 1.767 MB / 470.6 MB, free: 6.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.1496, allocations: 1.275 MB / 471.9 MB, free: 5.215 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.1497, allocations: 0 / 471.9 MB, free: 5.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.1499, allocations: 43.75 kB / 471.9 MB, free: 5.172 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1501, allocations: 59.5 kB / 472 MB, free: 5.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.1509, allocations: 243.1 kB / 472.2 MB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.1511, allocations: 103.5 kB / 472.3 MB, free: 4.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.1512, allocations: 5.312 kB / 472.3 MB, free: 4.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1514, allocations: 51.77 kB / 472.4 MB, free: 4.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1515, allocations: 43.72 kB / 472.4 MB, free: 4.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1515, allocations: 4 kB / 472.4 MB, free: 4.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.1521, allocations: 299.4 kB / 472.7 MB, free: 4.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1522, allocations: 23.86 kB / 472.7 MB, free: 4.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.1523, allocations: 39.78 kB / 472.8 MB, free: 4.316 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006706/0.1529, allocations: 306.9 kB / 473.1 MB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1529, allocations: 3.938 kB / 473.1 MB, free: 4.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1529, allocations: 0 / 473.1 MB, free: 4.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.153, allocations: 0 / 473.1 MB, free: 4.012 MB / 446.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.0008557/0.1538, allocations: 365.5 kB / 473.4 MB, free: 3.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.1539, allocations: 8.031 kB / 473.4 MB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/0.1539, allocations: 16.84 kB / 473.5 MB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1542, allocations: 122.4 kB / 473.6 MB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.1542, allocations: 16.38 kB / 473.6 MB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.1542, allocations: 16.12 kB / 473.6 MB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.1546, allocations: 138.1 kB / 473.7 MB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1546, allocations: 0 / 473.7 MB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1546, allocations: 4 kB / 473.7 MB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1546, allocations: 4 kB / 473.7 MB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.155, allocations: 147.8 kB / 473.9 MB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009286/0.1559, allocations: 395.3 kB / 474.3 MB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1562, allocations: 90.66 kB / 474.4 MB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1563, allocations: 48.77 kB / 474.4 MB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1564, allocations: 7.938 kB / 474.4 MB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1564, allocations: 34.55 kB / 474.5 MB, free: 2.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.1564, allocations: 3.938 kB / 474.5 MB, free: 2.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005342/0.1569, allocations: 169.5 kB / 474.6 MB, free: 2.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.157, allocations: 55.41 kB / 474.7 MB, free: 2.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1571, allocations: 117.8 kB / 474.8 MB, free: 2.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1571, allocations: 25.7 kB / 474.8 MB, free: 2.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.1572, allocations: 115.9 kB / 474.9 MB, free: 1.996 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.1572, allocations: 39.64 kB / 475 MB, free: 1.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.1573, allocations: 33.7 kB / 475 MB, free: 1.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1575, allocations: 318.8 kB / 475.3 MB, free: 1.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1576, allocations: 39.97 kB / 475.4 MB, free: 1.559 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1578, allocations: 85.05 kB / 475.4 MB, free: 1.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.1581, allocations: 129 kB / 475.6 MB, free: 1.312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1581, allocations: 0 / 475.6 MB, free: 1.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003957/0.1585, allocations: 161.4 kB / 475.7 MB, free: 1.148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1585, allocations: 4 kB / 475.7 MB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1585, allocations: 4 kB / 475.7 MB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1586, allocations: 0 / 475.7 MB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1588, allocations: 51.91 kB / 475.8 MB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000566/0.1594, allocations: 0.5862 MB / 476.4 MB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1595, allocations: 23.81 kB / 476.4 MB, free: 468 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1595, allocations: 8 kB / 476.4 MB, free: 460 kB / 446.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.0002029/0.1597, allocations: 121.8 kB / 476.5 MB, free: 328 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.561e-05/0.1598, allocations: 7.953 kB / 476.5 MB, free: 320 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000555/0.1604, allocations: 178.4 kB / 476.7 MB, free: 136 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1604, allocations: 0 / 476.7 MB, free: 136 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1604, allocations: 0 / 476.7 MB, free: 136 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.1604, allocations: 3.938 kB / 476.7 MB, free: 132 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3031/0.4635, allocations: 147.5 kB / 476.8 MB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4635, allocations: 0 / 476.8 MB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.4638, allocations: 45.17 kB / 476.9 MB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.4638, allocations: 3.625 kB / 476.9 MB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4639, allocations: 3.125 kB / 476.9 MB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002626/0.4641, allocations: 0.5861 MB / 477.5 MB, free: 49.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4641, allocations: 2.875 kB / 477.5 MB, free: 49.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.4646, allocations: 295.6 kB / 477.8 MB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.4646, allocations: 18.64 kB / 477.8 MB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.4647, allocations: 4.875 kB / 477.8 MB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.4648, allocations: 9.844 kB / 477.8 MB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4648, allocations: 8.547 kB / 477.8 MB, free: 49.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4648, allocations: 9.047 kB / 477.8 MB, free: 49.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.475e-05/0.4649, allocations: 91.34 kB / 477.9 MB, free: 49.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4649, allocations: 0 / 477.9 MB, free: 49.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.4653, allocations: 80.27 kB / 478 MB, free: 49.62 MB / 446.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.0003166/0.4656, allocations: 164.7 kB / 478.1 MB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.466, allocations: 122.8 kB / 478.3 MB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.466, allocations: 3.5 kB / 478.3 MB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4662, allocations: 70.14 kB / 478.3 MB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.4666, allocations: 15.67 kB / 478.4 MB, free: 49.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.4672, allocations: 315 kB / 478.7 MB, free: 49.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.4673, allocations: 96.08 kB / 478.8 MB, free: 49.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.4674, allocations: 20.53 kB / 478.8 MB, free: 49.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.4674, allocations: 24.19 kB / 478.8 MB, free: 49.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4674, allocations: 0 / 478.8 MB, free: 49.3 MB / 446.1 MB Notification: Performance of Templates: time 0.005822/0.4732, allocations: 2.241 MB / 481 MB, free: 49.18 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/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/jenkins1/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.346683428040706]