Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001912/0.001912, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.002344/0.002344, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.662/1.662, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2588/0.2588, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|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_4.1.0_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|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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.89 kB / 0.4914 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1391, allocations: 65.99 MB / 0.5559 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003209/0.1423, allocations: 1.814 MB / 0.5576 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1447, allocations: 1.41 MB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1448, allocations: 4 kB / 0.559 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.145, allocations: 43.75 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1452, allocations: 55.61 kB / 0.5591 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.1458, allocations: 255 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.146, allocations: 103.5 kB / 0.5595 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.1461, allocations: 9.125 kB / 0.5595 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1462, allocations: 55.7 kB / 0.5595 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.1463, allocations: 43.78 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.1464, allocations: 4 kB / 0.5596 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007781/0.1471, allocations: 0.5146 MB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.1472, allocations: 15.92 kB / 0.5601 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.1472, allocations: 47.66 kB / 0.5601 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.1478, allocations: 354.8 kB / 0.5605 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1478, allocations: 3.984 kB / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1478, allocations: 0 / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1478, allocations: 4 kB / 0.5605 GB, free: 0.5391 MB / 414.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.0006734/0.1485, allocations: 458.5 kB / 0.5609 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1485, allocations: 8.031 kB / 0.5609 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1485, allocations: 8.891 kB / 0.5609 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.1487, allocations: 184.2 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1487, allocations: 4.375 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1488, allocations: 16.12 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.1491, allocations: 145.6 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1491, allocations: 3.984 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1491, allocations: 4 kB / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1491, allocations: 8 kB / 0.5613 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.1495, allocations: 135.8 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.1505, allocations: 0.5145 MB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1508, allocations: 98.53 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.151, allocations: 44.83 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.151, allocations: 7.984 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.151, allocations: 30.56 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.151, allocations: 0 / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.000564/0.1516, allocations: 169.4 kB / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1516, allocations: 55.41 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1517, allocations: 121.8 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1518, allocations: 25.7 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.1518, allocations: 115.7 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.1519, allocations: 39.69 kB / 0.5626 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/0.1519, allocations: 29.72 kB / 0.5626 GB, free: 14.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1521, allocations: 322.8 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1522, allocations: 39.97 kB / 0.563 GB, free: 13.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.1524, allocations: 81.05 kB / 0.563 GB, free: 13.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.1527, allocations: 141.2 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1527, allocations: 0 / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004061/0.1531, allocations: 161.5 kB / 0.5633 GB, free: 13.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1531, allocations: 4 kB / 0.5633 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1531, allocations: 4 kB / 0.5633 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1531, allocations: 0 / 0.5633 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1534, allocations: 47.97 kB / 0.5634 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004182/0.1538, allocations: 0.5938 MB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1539, allocations: 16.02 kB / 0.564 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1539, allocations: 4 kB / 0.564 GB, free: 12.64 MB / 430.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.0001113/0.154, allocations: 124 kB / 0.5641 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1541, allocations: 7.953 kB / 0.5641 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/0.1546, allocations: 178.3 kB / 0.5643 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1546, allocations: 4 kB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1546, allocations: 3.938 kB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1546, allocations: 0 / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.1549, allocations: 209.6 kB / 0.5645 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.1549, allocations: 7.922 kB / 0.5645 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.1551, allocations: 47.97 kB / 0.5645 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1551, allocations: 0 / 0.5645 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1551, allocations: 8 kB / 0.5645 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003613/0.1555, allocations: 0.5898 MB / 0.5651 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1555, allocations: 0 / 0.5651 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.156, allocations: 298.9 kB / 0.5654 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.1561, allocations: 96.95 kB / 0.5655 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1561, allocations: 8 kB / 0.5655 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1563, allocations: 7.984 kB / 0.5655 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.1563, allocations: 15.92 kB / 0.5655 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1563, allocations: 4 kB / 0.5655 GB, free: 10.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.396e-05/0.1564, allocations: 95.2 kB / 0.5656 GB, free: 10.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1564, allocations: 0 / 0.5656 GB, free: 10.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.1568, allocations: 71.75 kB / 0.5657 GB, free: 10.77 MB / 430.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.0003479/0.1571, allocations: 178.9 kB / 0.5659 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.1576, allocations: 115.9 kB / 0.566 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1576, allocations: 4 kB / 0.566 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.1578, allocations: 63.91 kB / 0.566 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.1581, allocations: 15.98 kB / 0.5661 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.1588, allocations: 314.2 kB / 0.5664 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1591, allocations: 0.7078 MB / 0.567 GB, free: 9.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.547e-05/0.1592, allocations: 16.78 kB / 0.5671 GB, free: 9.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.1592, allocations: 19.42 kB / 0.5671 GB, free: 9.293 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1592, allocations: 0 / 0.5671 GB, free: 9.293 MB / 430.1 MB Notification: Performance of Templates: time 0.006368/0.1656, allocations: 2.369 MB / 0.5694 GB, free: 6.957 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.776831764727831]