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.000802/0.000802, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003271/0.003271, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8285/0.8285, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2163/0.2163, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 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 1.433e-06/1.433e-06, allocations: 0 / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.666e-05, allocations: 4.812 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.1591/0.1591, allocations: 1.779 MB / 445.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1602, allocations: 1.277 MB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.1602, allocations: 0 / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1604, allocations: 45.12 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1605, allocations: 57.28 kB / 446.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1608, allocations: 258.7 kB / 446.9 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.968e-05/0.1608, allocations: 112.2 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.1609, allocations: 3.875 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.161, allocations: 65.2 kB / 447.1 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.161, allocations: 46.41 kB / 447.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1611, allocations: 6.375 kB / 447.1 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.1613, allocations: 308 kB / 447.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.1613, allocations: 24.8 kB / 447.4 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.1614, allocations: 29.48 kB / 447.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1616, allocations: 333.8 kB / 447.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1616, allocations: 0 / 447.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1616, allocations: 0 / 447.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1616, allocations: 0 / 447.8 MB, free: 42.75 MB / 410.7 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.0003011/0.1619, allocations: 377.4 kB / 448.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.162, allocations: 8.812 kB / 448.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.162, allocations: 17.34 kB / 448.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.966e-05/0.1621, allocations: 119.6 kB / 448.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1621, allocations: 10.16 kB / 448.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1621, allocations: 12.38 kB / 448.3 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1623, allocations: 147.1 kB / 448.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1623, allocations: 7.078 kB / 448.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1623, allocations: 11.47 kB / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1623, allocations: 3.156 kB / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1624, allocations: 134 kB / 448.6 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1629, allocations: 405.4 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1631, allocations: 90.09 kB / 449.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.1631, allocations: 50.36 kB / 449.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1632, allocations: 3.234 kB / 449.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.1632, allocations: 33.38 kB / 449.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1632, allocations: 0 / 449.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002695/0.1634, allocations: 165.8 kB / 449.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.1635, allocations: 54.31 kB / 449.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.025e-05/0.1635, allocations: 118 kB / 449.5 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.1635, allocations: 29.7 kB / 449.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.1635, allocations: 121 kB / 449.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1635, allocations: 33.89 kB / 449.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1636, allocations: 32.84 kB / 449.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.761e-05/0.1636, allocations: 321.2 kB / 450 MB, free: 40.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.1637, allocations: 34.42 kB / 450.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.1637, allocations: 79.89 kB / 450.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1638, allocations: 132.7 kB / 450.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1638, allocations: 0 / 450.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001551/0.164, allocations: 158.2 kB / 450.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.164, allocations: 13.94 kB / 450.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.164, allocations: 0 / 450.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.164, allocations: 2.938 kB / 450.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1641, allocations: 45.73 kB / 450.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001445/0.1643, allocations: 0.5866 MB / 451.1 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1643, allocations: 22.3 kB / 451.1 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1643, allocations: 5.781 kB / 451.1 MB, free: 40.14 MB / 410.7 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 5.042e-05/0.1644, allocations: 132.8 kB / 451.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.1644, allocations: 6.953 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.1646, allocations: 179.8 kB / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1646, allocations: 2.344 kB / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1646, allocations: 0 / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1646, allocations: 1.75 kB / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.1647, allocations: 150.3 kB / 451.6 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1647, allocations: 2.875 kB / 451.6 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.1648, allocations: 46.91 kB / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1648, allocations: 0 / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.1648, allocations: 6.938 kB / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.178e-05/0.1649, allocations: 0.5838 MB / 452.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1649, allocations: 2.484 kB / 452.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1651, allocations: 293.2 kB / 452.5 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.1652, allocations: 24 kB / 452.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1652, allocations: 10.22 kB / 452.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.1652, allocations: 2.969 kB / 452.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1653, allocations: 20.19 kB / 452.6 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1653, allocations: 6 kB / 452.6 MB, free: 38.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.1653, allocations: 88.23 kB / 452.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1653, allocations: 2.719 kB / 452.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.1655, allocations: 79 kB / 452.7 MB, free: 38.87 MB / 410.7 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.000197/0.1657, allocations: 181 kB / 452.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1659, allocations: 121.3 kB / 453 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1659, allocations: 0 / 453 MB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.166, allocations: 68.8 kB / 453.1 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1662, allocations: 11.98 kB / 453.1 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.1667, allocations: 326.9 kB / 453.4 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.1667, allocations: 86.42 kB / 453.5 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.1667, allocations: 23.91 kB / 453.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1667, allocations: 0 / 453.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of Templates: time 0.003697/0.1704, allocations: 2.65 MB / 456.2 MB, free: 38.17 MB / 410.7 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: 4.952341374009848]