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.001794/0.001794, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002302/0.002302, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2353/0.2353, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.002083/0.002083, allocations: 67.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3623, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00353/0.3658, allocations: 1.776 MB / 0.5628 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3681, allocations: 1.267 MB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.3681, allocations: 4 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.3684, allocations: 47.75 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.3685, allocations: 55.56 kB / 0.5642 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.3691, allocations: 247 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3693, allocations: 103.5 kB / 0.5645 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.3693, allocations: 9.25 kB / 0.5645 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.3695, allocations: 59.7 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.891e-05/0.3696, allocations: 43.78 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.3696, allocations: 4 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005427/0.3702, allocations: 319.3 kB / 0.5649 GB, free: 224 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.3702, allocations: 19.91 kB / 0.565 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.3703, allocations: 35.73 kB / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.3708, allocations: 313.3 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3708, allocations: 0 / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3708, allocations: 4 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3708, allocations: 0 / 0.5653 GB, free: 15.86 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.0006391/0.3714, allocations: 373.4 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3715, allocations: 12.03 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.3715, allocations: 20.83 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3716, allocations: 114.4 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3717, allocations: 8.375 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.3717, allocations: 16.12 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.372, allocations: 149.5 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.372, allocations: 0 / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.3721, allocations: 4 kB / 0.566 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3721, allocations: 4 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.3724, allocations: 139.9 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.3732, allocations: 403.1 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.3735, allocations: 94.59 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.3737, allocations: 52.7 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3737, allocations: 4 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.3737, allocations: 34.56 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.3737, allocations: 0 / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000491/0.3742, allocations: 157.6 kB / 0.5668 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3743, allocations: 51.41 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3744, allocations: 125.7 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3744, allocations: 29.7 kB / 0.567 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.3745, allocations: 120 kB / 0.5671 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.3745, allocations: 39.69 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.3746, allocations: 41.61 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3748, allocations: 322.8 kB / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3749, allocations: 39.91 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.375, allocations: 84.34 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3753, allocations: 125 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3753, allocations: 0 / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003553/0.3757, allocations: 161.4 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3757, allocations: 4 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3757, allocations: 0 / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3757, allocations: 7.938 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3759, allocations: 52.06 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004638/0.3764, allocations: 0.586 MB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3765, allocations: 23.91 kB / 0.5686 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3765, allocations: 4 kB / 0.5686 GB, free: 12.28 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.0001241/0.3766, allocations: 125.8 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3767, allocations: 4 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.3771, allocations: 173.9 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.3771, allocations: 4 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3771, allocations: 0 / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3771, allocations: 3.938 kB / 0.5689 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3774, allocations: 145.3 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3774, allocations: 0 / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3776, allocations: 47.97 kB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3776, allocations: 4 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3776, allocations: 4 kB / 0.569 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003714/0.378, allocations: 0.5898 MB / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.378, allocations: 0 / 0.5696 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.3785, allocations: 295 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.3785, allocations: 23.97 kB / 0.5699 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3786, allocations: 8.094 kB / 0.5699 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3787, allocations: 11.98 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.3787, allocations: 11.97 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.3787, allocations: 4 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.864e-05/0.3788, allocations: 91.27 kB / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3788, allocations: 0 / 0.57 GB, free: 10.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.3792, allocations: 83.67 kB / 0.5701 GB, free: 10.59 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.0003382/0.3795, allocations: 174.9 kB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.3799, allocations: 124 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3799, allocations: 4.062 kB / 0.5704 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.3801, allocations: 67.89 kB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3804, allocations: 9.906 kB / 0.5705 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000715/0.3812, allocations: 312.3 kB / 0.5708 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.3813, allocations: 97.05 kB / 0.5709 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.667e-05/0.3813, allocations: 16.48 kB / 0.5709 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.3814, allocations: 15.44 kB / 0.5709 GB, free: 9.73 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3814, allocations: 0 / 0.5709 GB, free: 9.73 MB / 414.1 MB Notification: Performance of Templates: time 0.006764/0.3881, allocations: 2.448 MB / 0.5733 GB, free: 7.336 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/jenkins/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/jenkins/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.377542385831475]