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.001576/0.001576, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001716/0.001716, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2327/0.2327, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002047/0.002047, allocations: 71.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3087, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00319/0.3119, allocations: 1.83 MB / 0.5601 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3142, allocations: 1.415 MB / 0.5614 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.3142, allocations: 4 kB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.3145, allocations: 47.75 kB / 0.5615 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.3146, allocations: 59.61 kB / 0.5616 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.3152, allocations: 243 kB / 0.5618 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3153, allocations: 103.5 kB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.3154, allocations: 9.312 kB / 0.5619 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.3156, allocations: 67.64 kB / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.3157, allocations: 43.78 kB / 0.562 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3157, allocations: 4 kB / 0.562 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007711/0.3165, allocations: 0.5068 MB / 0.5625 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3165, allocations: 15.92 kB / 0.5625 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.3165, allocations: 47.66 kB / 0.5626 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.3171, allocations: 365.2 kB / 0.5629 GB, free: 2.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3171, allocations: 4 kB / 0.5629 GB, free: 2.953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3171, allocations: 4 kB / 0.5629 GB, free: 2.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3171, allocations: 0 / 0.5629 GB, free: 2.949 MB / 398.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.0006069/0.3177, allocations: 373.3 kB / 0.5633 GB, free: 2.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3177, allocations: 8.031 kB / 0.5633 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3178, allocations: 16.89 kB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3179, allocations: 122.4 kB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3179, allocations: 8.375 kB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.318, allocations: 20.11 kB / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.3183, allocations: 145.6 kB / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3183, allocations: 0 / 0.5636 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3183, allocations: 4 kB / 0.5636 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3183, allocations: 4 kB / 0.5636 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.3187, allocations: 135.9 kB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009356/0.3196, allocations: 493.9 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.3199, allocations: 98.52 kB / 0.5643 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.32, allocations: 48.83 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.32, allocations: 3.984 kB / 0.5643 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3201, allocations: 38.56 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3201, allocations: 0 / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004959/0.3206, allocations: 169.4 kB / 0.5645 GB, free: 1.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3206, allocations: 55.41 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.3207, allocations: 113.8 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3207, allocations: 29.7 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.3208, allocations: 119.7 kB / 0.5648 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.3208, allocations: 35.69 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.3209, allocations: 33.7 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.321, allocations: 322.8 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3212, allocations: 35.97 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3213, allocations: 85.06 kB / 0.5653 GB, free: 272 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.3216, allocations: 137.3 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3216, allocations: 0 / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003759/0.322, allocations: 157.4 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.322, allocations: 8 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.322, allocations: 0 / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.322, allocations: 4 kB / 0.5656 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.3223, allocations: 44.12 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004045/0.3227, allocations: 0.6015 MB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3228, allocations: 7.984 kB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3228, allocations: 8 kB / 0.5663 GB, free: 15.26 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.0001158/0.3229, allocations: 121.8 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.3229, allocations: 12.05 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.3234, allocations: 174.2 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3234, allocations: 7.984 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3234, allocations: 3.938 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3234, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3237, allocations: 184.7 kB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3237, allocations: 0 / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.3239, allocations: 43.97 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3239, allocations: 4 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3239, allocations: 4 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/0.3242, allocations: 0.5936 MB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3242, allocations: 0 / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.3248, allocations: 287.5 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.3248, allocations: 23.84 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3248, allocations: 7.984 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3249, allocations: 4 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.325, allocations: 15.91 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.325, allocations: 12.06 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.645e-05/0.3251, allocations: 95.2 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3251, allocations: 0 / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.3254, allocations: 79.64 kB / 0.5679 GB, free: 13.51 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.0003074/0.3258, allocations: 174.9 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.3262, allocations: 119.4 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3262, allocations: 4 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.3264, allocations: 72.2 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.3267, allocations: 8 kB / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.3274, allocations: 330.2 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3277, allocations: 0.7156 MB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.3278, allocations: 23.38 kB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3278, allocations: 0 / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Templates: time 0.005011/0.3328, allocations: 2.597 MB / 0.5718 GB, free: 9.422 MB / 414.1 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/jenkins1/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/jenkins1/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: 7.774893263122067]