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.001963/0.001963, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002487/0.002487, allocations: 209 kB / 24.48 MB, free: 3.938 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.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.2286/0.2286, allocations: 44.94 MB / 359.6 MB, free: 6.051 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.003107/0.003107, allocations: 68.19 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3046, allocations: 65.47 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003455/0.3081, allocations: 1.783 MB / 0.56 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.3104, allocations: 1.275 MB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3104, allocations: 0 / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3107, allocations: 47.75 kB / 0.5612 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.3109, allocations: 51.62 kB / 0.5613 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000592/0.3114, allocations: 251 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3116, allocations: 99.45 kB / 0.5616 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.3116, allocations: 5.312 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.3118, allocations: 63.7 kB / 0.5617 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.3119, allocations: 39.78 kB / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3119, allocations: 4 kB / 0.5617 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006242/0.3126, allocations: 319.4 kB / 0.562 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.3126, allocations: 19.84 kB / 0.5621 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.3127, allocations: 35.8 kB / 0.5621 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.3132, allocations: 321.2 kB / 0.5624 GB, free: 3.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3132, allocations: 0 / 0.5624 GB, free: 3.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3132, allocations: 0 / 0.5624 GB, free: 3.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3132, allocations: 0 / 0.5624 GB, free: 3.176 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.0006308/0.3139, allocations: 369.4 kB / 0.5628 GB, free: 2.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3139, allocations: 16.03 kB / 0.5628 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.314, allocations: 8.891 kB / 0.5628 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3141, allocations: 118.4 kB / 0.5629 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3141, allocations: 16.36 kB / 0.5629 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.3141, allocations: 20.06 kB / 0.5629 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.3145, allocations: 137.6 kB / 0.5631 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3145, allocations: 3.984 kB / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3145, allocations: 8 kB / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3145, allocations: 0 / 0.5631 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.3148, allocations: 143.8 kB / 0.5632 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.3157, allocations: 403.1 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.316, allocations: 86.66 kB / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3161, allocations: 52.77 kB / 0.5637 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3162, allocations: 3.938 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.3162, allocations: 46.5 kB / 0.5638 GB, free: 1.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3162, allocations: 0 / 0.5638 GB, free: 1.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000512/0.3167, allocations: 157.6 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.3168, allocations: 55.39 kB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3169, allocations: 117.8 kB / 0.5641 GB, free: 1.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3169, allocations: 25.7 kB / 0.5641 GB, free: 1.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.317, allocations: 119.7 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.317, allocations: 39.69 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.3171, allocations: 45.59 kB / 0.5643 GB, free: 1.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3172, allocations: 314.8 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3174, allocations: 43.91 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.3175, allocations: 81.05 kB / 0.5647 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3178, allocations: 125 kB / 0.5648 GB, free: 472 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3178, allocations: 0 / 0.5648 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003758/0.3182, allocations: 161.4 kB / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3182, allocations: 8 kB / 0.565 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3182, allocations: 0 / 0.565 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3182, allocations: 4 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.3184, allocations: 52.06 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004521/0.3189, allocations: 0.5821 MB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.319, allocations: 23.91 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.319, allocations: 7.938 kB / 0.5657 GB, free: 15.6 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.0001256/0.3192, allocations: 126.1 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.3192, allocations: 4 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.3196, allocations: 174 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3196, allocations: 0 / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3196, allocations: 4 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3197, allocations: 3.938 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.3199, allocations: 149.3 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3199, allocations: 0 / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.3201, allocations: 47.91 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3201, allocations: 0 / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3201, allocations: 8 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/0.3205, allocations: 0.5821 MB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3205, allocations: 0 / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.321, allocations: 306.9 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.3211, allocations: 15.97 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.3211, allocations: 12.09 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3212, allocations: 15.92 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.3213, allocations: 7.984 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3213, allocations: 4 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.3213, allocations: 91.27 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3213, allocations: 0 / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.3217, allocations: 79.67 kB / 0.5672 GB, free: 13.91 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.0003507/0.3221, allocations: 176.5 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.3225, allocations: 120.4 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3225, allocations: 320 / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.3227, allocations: 79.83 kB / 0.5676 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.323, allocations: 12 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.3238, allocations: 330.4 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.282e-05/0.3239, allocations: 97.05 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.3239, allocations: 19.42 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3239, allocations: 3.938 kB / 0.568 GB, free: 13.03 MB / 414.1 MB Notification: Performance of Templates: time 0.005483/0.3294, allocations: 2.626 MB / 0.5706 GB, free: 10.4 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.988898737821728]