Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2294/0.2294, allocations: 46.89 MB / 361.1 MB, free: 4.609 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 79.86 kB / 0.4968 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3133, allocations: 65.99 MB / 0.5612 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003097/0.3164, allocations: 1.834 MB / 0.563 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3186, allocations: 1.415 MB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.3187, allocations: 0 / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.3189, allocations: 43.7 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.3191, allocations: 55.62 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.3196, allocations: 251 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.3198, allocations: 107.4 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.3198, allocations: 5.125 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.32, allocations: 55.8 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3201, allocations: 55.69 kB / 0.565 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3201, allocations: 4 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007016/0.3208, allocations: 0.4952 MB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.3208, allocations: 23.84 kB / 0.5655 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.3209, allocations: 43.73 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.3214, allocations: 365.5 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3214, allocations: 0 / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3214, allocations: 0 / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3214, allocations: 0 / 0.5659 GB, free: 244 kB / 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.0006106/0.322, allocations: 458.4 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3221, allocations: 8.031 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3221, allocations: 16.83 kB / 0.5663 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3223, allocations: 180.2 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3223, allocations: 8.375 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3223, allocations: 16.12 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.3226, allocations: 137.6 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3226, allocations: 4 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3226, allocations: 4 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3226, allocations: 4 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.3229, allocations: 135.8 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.3238, allocations: 0.5145 MB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.3241, allocations: 102.6 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.3242, allocations: 48.83 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3242, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.3243, allocations: 38.5 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.3243, allocations: 4 kB / 0.5675 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000477/0.3248, allocations: 157.5 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.3248, allocations: 55.41 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.3249, allocations: 113.8 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3249, allocations: 25.7 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.325, allocations: 119.6 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.325, allocations: 43.69 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.3251, allocations: 33.7 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3252, allocations: 322.8 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3253, allocations: 35.97 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3255, allocations: 81.06 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3258, allocations: 129 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3258, allocations: 3.938 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003398/0.3261, allocations: 157.5 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3261, allocations: 8 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3261, allocations: 0 / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3262, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.3264, allocations: 47.91 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003949/0.3268, allocations: 0.5904 MB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3269, allocations: 23.86 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3269, allocations: 8 kB / 0.5694 GB, free: 12.35 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.0001084/0.327, allocations: 121.8 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.327, allocations: 11.89 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.3275, allocations: 177.9 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3275, allocations: 4 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3275, allocations: 0 / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.3275, allocations: 92.98 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3276, allocations: 0 / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3277, allocations: 15.98 kB / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.3277, allocations: 19.86 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005181/0.3283, allocations: 245.7 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005765/0.3288, allocations: 382.4 kB / 0.5704 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001355/0.329, allocations: 47.94 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.523e-05/0.329, allocations: 95.2 kB / 0.5705 GB, free: 11.1 MB / 414.1 MB Notification: Performance of Backend: time 3.51e-07/0.329, allocations: 0 / 0.5705 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.3299, allocations: 242.5 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008471/0.3307, allocations: 0.7155 MB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of Templates: time 0.006952/0.3377, allocations: 2.979 MB / 0.5744 GB, free: 7.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.042349336203188]