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.0017/0.0017, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002028/0.002028, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.405/1.405, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2294/0.2294, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.001946/0.001946, allocations: 64.12 kB / 0.4974 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3631, allocations: 66.03 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003421/0.3666, allocations: 1.769 MB / 0.5636 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.3689, allocations: 1.283 MB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.369, allocations: 0 / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3692, allocations: 39.77 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.3694, allocations: 55.61 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.37, allocations: 247.1 kB / 0.5651 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3701, allocations: 103.4 kB / 0.5652 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.3702, allocations: 5.312 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.3704, allocations: 63.7 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.3705, allocations: 47.72 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3705, allocations: 4 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005269/0.371, allocations: 339.4 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.371, allocations: 19.84 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.3711, allocations: 35.8 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.3716, allocations: 313.3 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3716, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3716, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3716, allocations: 0 / 0.566 GB, free: 15.82 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.0005998/0.3722, allocations: 373.4 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3723, allocations: 19.97 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.3723, allocations: 12.89 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3724, allocations: 122.4 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3725, allocations: 12.38 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.3725, allocations: 12.12 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.3728, allocations: 141.6 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3728, allocations: 0 / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3729, allocations: 8 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3729, allocations: 0 / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.3732, allocations: 139.9 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.374, allocations: 407 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.3743, allocations: 90.64 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.3744, allocations: 52.7 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3745, allocations: 4 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3745, allocations: 38.56 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 4.899e-06/0.3745, allocations: 3.984 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005024/0.375, allocations: 161.4 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3751, allocations: 55.41 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3752, allocations: 117.8 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3752, allocations: 25.7 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.3753, allocations: 115.7 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.3753, allocations: 43.69 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.3754, allocations: 45.59 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3755, allocations: 318.8 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3756, allocations: 36.34 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.3758, allocations: 77.12 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.3761, allocations: 129 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3761, allocations: 0 / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003613/0.3764, allocations: 169.3 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3764, allocations: 8 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3764, allocations: 0 / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3765, allocations: 4 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3767, allocations: 52.06 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004313/0.3771, allocations: 0.586 MB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.3772, allocations: 19.92 kB / 0.5693 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3772, allocations: 4 kB / 0.5693 GB, free: 12.23 MB / 414.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.0001133/0.3774, allocations: 125.7 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.3774, allocations: 4 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.3778, allocations: 170 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3778, allocations: 0 / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3778, allocations: 3.938 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3779, allocations: 11.92 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.3781, allocations: 137.3 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3781, allocations: 4 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3783, allocations: 47.91 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3783, allocations: 4 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3783, allocations: 11.98 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004328/0.3788, allocations: 0.5821 MB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3788, allocations: 3.938 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.3793, allocations: 305.7 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.3793, allocations: 15.97 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3794, allocations: 16.09 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3795, allocations: 4 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.3795, allocations: 15.97 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3795, allocations: 4 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.011e-05/0.3796, allocations: 91.27 kB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.38, allocations: 71.69 kB / 0.5709 GB, free: 10.55 MB / 414.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.0003446/0.3803, allocations: 174.9 kB / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.3807, allocations: 120 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3807, allocations: 4.062 kB / 0.5712 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.381, allocations: 67.95 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3813, allocations: 19.44 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.382, allocations: 304.7 kB / 0.5715 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3821, allocations: 101 kB / 0.5716 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.821e-05/0.3822, allocations: 16.44 kB / 0.5716 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.3823, allocations: 23.36 kB / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3823, allocations: 0 / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of Templates: time 0.006701/0.389, allocations: 2.491 MB / 0.5741 GB, free: 7.242 MB / 414.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 -s cvode -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/jenkins1/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/jenkins1/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.165730066000833]