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.002065/0.002065, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002113/0.002113, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.2381/0.2381, allocations: 44.92 MB / 358.8 MB, free: 6.312 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.002103/0.002103, allocations: 63.89 kB / 0.4936 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3562, allocations: 65.47 MB / 0.5575 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003428/0.3597, allocations: 1.832 MB / 0.5593 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3621, allocations: 1.411 MB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.3622, allocations: 0 / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.3624, allocations: 47.75 kB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3626, allocations: 63.61 kB / 0.5608 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.3632, allocations: 239.1 kB / 0.561 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3634, allocations: 103.4 kB / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.3635, allocations: 9.297 kB / 0.5611 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.3637, allocations: 59.72 kB / 0.5612 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3638, allocations: 55.7 kB / 0.5613 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3638, allocations: 4 kB / 0.5613 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007873/0.3646, allocations: 0.5068 MB / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3646, allocations: 15.92 kB / 0.5618 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.3647, allocations: 47.66 kB / 0.5618 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.3653, allocations: 357.2 kB / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3653, allocations: 0 / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3653, allocations: 0 / 0.5622 GB, free: 3.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3653, allocations: 4 kB / 0.5622 GB, free: 3.02 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.0006617/0.3659, allocations: 381.4 kB / 0.5625 GB, free: 2.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.366, allocations: 11.97 kB / 0.5625 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.366, allocations: 12.83 kB / 0.5625 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3662, allocations: 122.4 kB / 0.5627 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3662, allocations: 8.375 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.3662, allocations: 16.12 kB / 0.5627 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003442/0.3666, allocations: 149.5 kB / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3666, allocations: 0 / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3666, allocations: 8 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3666, allocations: 0 / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.3669, allocations: 139.9 kB / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009419/0.3679, allocations: 489.9 kB / 0.5634 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3681, allocations: 98.53 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.3683, allocations: 52.81 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3683, allocations: 3.984 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.3684, allocations: 30.56 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3684, allocations: 4 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004748/0.3689, allocations: 165.4 kB / 0.5638 GB, free: 1.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.369, allocations: 51.41 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3691, allocations: 129.7 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3691, allocations: 25.7 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.3691, allocations: 119.7 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3692, allocations: 39.69 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.3692, allocations: 33.7 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3694, allocations: 314.8 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3695, allocations: 39.97 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3696, allocations: 81.05 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.3699, allocations: 133 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3699, allocations: 4.375 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003368/0.3703, allocations: 157.4 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3703, allocations: 6.344 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3703, allocations: 4 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3703, allocations: 3.938 kB / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.3705, allocations: 51.91 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004337/0.371, allocations: 0.5938 MB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3711, allocations: 16.02 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3711, allocations: 4 kB / 0.5655 GB, free: 15.32 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.0001268/0.3712, allocations: 125.8 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.3712, allocations: 3.953 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.3717, allocations: 178 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3717, allocations: 4 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3717, allocations: 3.938 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3717, allocations: 0 / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.372, allocations: 180.7 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.372, allocations: 7.938 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.3722, allocations: 43.97 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3722, allocations: 0 / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3722, allocations: 0 / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/0.3726, allocations: 0.5937 MB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3726, allocations: 3.938 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.3731, allocations: 295.4 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.3731, allocations: 19.84 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3732, allocations: 4 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3733, allocations: 11.98 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.3733, allocations: 11.98 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3733, allocations: 8 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.364e-05/0.3734, allocations: 91.33 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3734, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.3738, allocations: 83.62 kB / 0.5671 GB, free: 13.57 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.0003581/0.3741, allocations: 182.8 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.3746, allocations: 115.9 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3746, allocations: 0 / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3748, allocations: 72.2 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.3751, allocations: 8 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.3759, allocations: 311.5 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.3764, allocations: 0.7078 MB / 0.5685 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.195e-05/0.3765, allocations: 16.7 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.3765, allocations: 23.38 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3765, allocations: 4 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Templates: time 0.007341/0.3839, allocations: 2.434 MB / 0.5709 GB, free: 9.691 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/jenkins/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/jenkins/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: 5.627067723777145]