Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007942/0.0007942, allocations: 83.69 kB / 21.44 MB, free: 3.117 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.002992/0.002992, allocations: 156.5 kB / 24.7 MB, free: 8.902 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.8329/0.8329, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 32.79 MB / 294.2 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.433e-05, allocations: 10.16 kB / 440.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002109/0.002133, allocations: 1.792 MB / 442.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.003911, allocations: 1.27 MB / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.003982, allocations: 0 / 443.9 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.0042, allocations: 35.83 kB / 444 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.004349, allocations: 63.44 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.004825, allocations: 247 kB / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.004952, allocations: 107.3 kB / 444.4 MB, free: 192 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.004995, allocations: 5.312 kB / 444.4 MB, free: 188 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.0052, allocations: 79.67 kB / 444.5 MB, free: 108 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.005265, allocations: 39.84 kB / 444.5 MB, free: 68 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.005278, allocations: 4 kB / 444.5 MB, free: 64 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1622/0.1675, allocations: 307.2 kB / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.1676, allocations: 19.3 kB / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.1676, allocations: 30.16 kB / 444.9 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.1681, allocations: 335.9 kB / 445.2 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1681, allocations: 0 / 445.2 MB, free: 43.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1681, allocations: 4.703 kB / 445.2 MB, free: 43.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1681, allocations: 1.625 kB / 445.2 MB, free: 43.97 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.0003941/0.1685, allocations: 366.2 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1685, allocations: 8.688 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1685, allocations: 14.72 kB / 445.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.1686, allocations: 126 kB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1686, allocations: 9.094 kB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1686, allocations: 8.844 kB / 445.7 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1688, allocations: 153.5 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1689, allocations: 1.594 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1689, allocations: 9.969 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1689, allocations: 2.906 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.169, allocations: 143.2 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.1696, allocations: 404.9 kB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1698, allocations: 99.7 kB / 446.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.469e-05/0.1698, allocations: 45.48 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1699, allocations: 3.688 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.1699, allocations: 33.5 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1699, allocations: 1.156 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002822/0.1702, allocations: 167.1 kB / 446.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.1702, allocations: 51.41 kB / 446.8 MB, free: 43.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/0.1702, allocations: 121.5 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.1702, allocations: 29.39 kB / 447 MB, free: 42.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.1703, allocations: 112.8 kB / 447.1 MB, free: 42.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.1703, allocations: 40.38 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1703, allocations: 32.16 kB / 447.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.712e-05/0.1704, allocations: 318 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.1704, allocations: 35.33 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.1705, allocations: 87.48 kB / 447.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1706, allocations: 127.5 kB / 447.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1706, allocations: 0 / 447.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001752/0.1708, allocations: 163.8 kB / 447.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1708, allocations: 5.656 kB / 447.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1708, allocations: 6.875 kB / 447.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1708, allocations: 0 / 447.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.171, allocations: 55.47 kB / 447.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.1711, allocations: 0.5826 MB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.1712, allocations: 19.06 kB / 448.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1712, allocations: 5.219 kB / 448.5 MB, free: 41.75 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.443e-05/0.1712, allocations: 131.5 kB / 448.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.1712, allocations: 6.828 kB / 448.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.1715, allocations: 174.6 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1715, allocations: 0 / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1715, allocations: 2.562 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1715, allocations: 3.188 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1716, allocations: 150.4 kB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1716, allocations: 0 / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.1717, allocations: 41.88 kB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1717, allocations: 3.188 kB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1717, allocations: 8.469 kB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001066/0.1718, allocations: 0.5854 MB / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1718, allocations: 0 / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1721, allocations: 297.1 kB / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.1721, allocations: 24.36 kB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1721, allocations: 0 / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.1722, allocations: 9.906 kB / 449.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1722, allocations: 16.05 kB / 450 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1722, allocations: 6.906 kB / 450 MB, free: 40.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.108e-05/0.1722, allocations: 93.56 kB / 450.1 MB, free: 40.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1722, allocations: 0 / 450.1 MB, free: 40.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.1725, allocations: 80.86 kB / 450.1 MB, free: 40.62 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.0002468/0.1727, allocations: 176.8 kB / 450.3 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.173, allocations: 122.4 kB / 450.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.173, allocations: 0 / 450.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.173, allocations: 68.45 kB / 450.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1733, allocations: 15.53 kB / 450.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.1738, allocations: 322.9 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.1738, allocations: 88.95 kB / 450.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.1738, allocations: 27.78 kB / 450.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1738, allocations: 0 / 450.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of Templates: time 0.002948/0.1768, allocations: 2.653 MB / 453.6 MB, free: 40.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.845951905474067]