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.001249/0.001249, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001419/0.001419, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.2188/0.2188, allocations: 46.94 MB / 361.6 MB, free: 4.293 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.002092/0.002092, allocations: 67.89 kB / 0.4974 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 66.02 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003341/0.3169, allocations: 1.843 MB / 0.5637 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.3191, allocations: 1.415 MB / 0.5651 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.3192, allocations: 4 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.3194, allocations: 43.75 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.3196, allocations: 55.56 kB / 0.5652 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.3201, allocations: 247.1 kB / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.3203, allocations: 111.4 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.3203, allocations: 5.312 kB / 0.5655 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.3205, allocations: 55.72 kB / 0.5656 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.3206, allocations: 51.77 kB / 0.5656 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.3206, allocations: 4 kB / 0.5656 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007174/0.3213, allocations: 0.5068 MB / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.3213, allocations: 15.86 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.3214, allocations: 47.78 kB / 0.5662 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.3219, allocations: 365.1 kB / 0.5665 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3219, allocations: 0 / 0.5665 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3219, allocations: 0 / 0.5665 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3219, allocations: 0 / 0.5665 GB, free: 15.64 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.0005767/0.3225, allocations: 381.3 kB / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3225, allocations: 8.031 kB / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.3226, allocations: 8.891 kB / 0.5669 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3227, allocations: 122.4 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3227, allocations: 16.38 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.3228, allocations: 16.12 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.3231, allocations: 137.6 kB / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3231, allocations: 0 / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.3231, allocations: 11.94 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3231, allocations: 0 / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3234, allocations: 135.9 kB / 0.5673 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.3243, allocations: 0.5018 MB / 0.5678 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.3246, allocations: 90.59 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3247, allocations: 44.83 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3248, allocations: 4 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3248, allocations: 34.56 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3248, allocations: 0 / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004962/0.3253, allocations: 165.4 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3254, allocations: 51.41 kB / 0.5682 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.3254, allocations: 117.8 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3255, allocations: 33.7 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.3256, allocations: 115.7 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.3256, allocations: 35.69 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.3256, allocations: 33.7 kB / 0.5685 GB, free: 13.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3258, allocations: 318.8 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3259, allocations: 39.97 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3261, allocations: 84.16 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.3263, allocations: 136.9 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3263, allocations: 0 / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003433/0.3267, allocations: 161.4 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3267, allocations: 4 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3267, allocations: 4.156 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3267, allocations: 4 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3269, allocations: 55.89 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004241/0.3273, allocations: 0.5898 MB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3275, allocations: 12.03 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.3275, allocations: 8 kB / 0.5699 GB, free: 11.94 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.0001186/0.3276, allocations: 129.8 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.3276, allocations: 7.953 kB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.328, allocations: 170.2 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.328, allocations: 4 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.3281, allocations: 7.938 kB / 0.5702 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3281, allocations: 3.984 kB / 0.5702 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3283, allocations: 172.7 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3283, allocations: 3.984 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.3286, allocations: 43.92 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3286, allocations: 0 / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3286, allocations: 7.922 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003951/0.329, allocations: 0.5938 MB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.329, allocations: 0 / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.3295, allocations: 290.8 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.3295, allocations: 23.83 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3296, allocations: 8 kB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.3297, allocations: 8.156 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.3297, allocations: 15.97 kB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.3297, allocations: 4 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.533e-05/0.3298, allocations: 95.2 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3298, allocations: 0 / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.3302, allocations: 75.64 kB / 0.5715 GB, free: 10.2 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.0003246/0.3305, allocations: 174.9 kB / 0.5717 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004126/0.3309, allocations: 128 kB / 0.5718 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3309, allocations: 4.062 kB / 0.5718 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.3311, allocations: 59.97 kB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3314, allocations: 18.31 kB / 0.5719 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.3322, allocations: 330.2 kB / 0.5722 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.3325, allocations: 0.7156 MB / 0.5729 GB, free: 8.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.3326, allocations: 19.44 kB / 0.5729 GB, free: 8.703 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3326, allocations: 0 / 0.5729 GB, free: 8.703 MB / 414.1 MB Notification: Performance of Templates: time 0.004931/0.3375, allocations: 2.591 MB / 0.5754 GB, free: 6.113 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 -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: 7.616261280840263]