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.001425/0.001425, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001464/0.001464, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2542/0.2542, allocations: 46.94 MB / 360.9 MB, free: 4.039 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.002106/0.002106, allocations: 71.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.391, allocations: 66.03 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003637/0.3946, allocations: 1.775 MB / 0.5628 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.397, allocations: 1.287 MB / 0.5641 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.3971, allocations: 0 / 0.5641 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.3974, allocations: 39.77 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.3976, allocations: 47.64 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.3983, allocations: 247.1 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3984, allocations: 107.4 kB / 0.5645 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.3985, allocations: 9.297 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.3987, allocations: 59.72 kB / 0.5646 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3988, allocations: 51.7 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3989, allocations: 8 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005962/0.3995, allocations: 327.4 kB / 0.565 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.3995, allocations: 19.86 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.3996, allocations: 35.78 kB / 0.565 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.4001, allocations: 317.3 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4001, allocations: 0 / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4001, allocations: 0 / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.4001, allocations: 0 / 0.5653 GB, free: 15.84 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.000677/0.4008, allocations: 373.4 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4008, allocations: 8.031 kB / 0.5657 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.4009, allocations: 12.89 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.401, allocations: 126.4 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4011, allocations: 8.375 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.4011, allocations: 16.12 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.4014, allocations: 141.6 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4015, allocations: 3.938 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4015, allocations: 4 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4015, allocations: 4 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.4018, allocations: 147.8 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.4027, allocations: 395.1 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.403, allocations: 90.66 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.4031, allocations: 48.7 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.4032, allocations: 15.98 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4032, allocations: 30.56 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.4032, allocations: 0 / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005198/0.4037, allocations: 165.4 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.4038, allocations: 55.41 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4039, allocations: 121.7 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.4039, allocations: 25.7 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.404, allocations: 119.6 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.4041, allocations: 43.69 kB / 0.5672 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.649e-05/0.4041, allocations: 41.59 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4043, allocations: 318.8 kB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.4044, allocations: 35.97 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.4046, allocations: 85.05 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.4049, allocations: 125 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4049, allocations: 0 / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003646/0.4052, allocations: 165.3 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4053, allocations: 4 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4053, allocations: 4 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4053, allocations: 4.156 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.4055, allocations: 55.91 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004595/0.406, allocations: 0.5822 MB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.4061, allocations: 19.88 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4061, allocations: 8 kB / 0.5686 GB, free: 12.26 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.000118/0.4062, allocations: 121.7 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.4062, allocations: 4 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.4067, allocations: 178.3 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4067, allocations: 0 / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4067, allocations: 0 / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.4067, allocations: 3.938 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.407, allocations: 145.3 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.407, allocations: 0 / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.4072, allocations: 51.91 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4072, allocations: 0 / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4072, allocations: 4 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/0.4076, allocations: 0.586 MB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4076, allocations: 0 / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.4081, allocations: 307 kB / 0.5699 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.4082, allocations: 24.09 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4082, allocations: 3.938 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4083, allocations: 7.984 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.4083, allocations: 11.98 kB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4084, allocations: 11.92 kB / 0.57 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.4084, allocations: 87.28 kB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4084, allocations: 0 / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.4088, allocations: 79.67 kB / 0.5701 GB, free: 10.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.0003141/0.4092, allocations: 171.2 kB / 0.5703 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.4096, allocations: 124 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4096, allocations: 7.938 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.4098, allocations: 63.89 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4101, allocations: 13.62 kB / 0.5705 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.4109, allocations: 308.5 kB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.383e-05/0.411, allocations: 97.11 kB / 0.5709 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.4111, allocations: 16.48 kB / 0.5709 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.4111, allocations: 15.44 kB / 0.5709 GB, free: 9.719 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4111, allocations: 0 / 0.5709 GB, free: 9.719 MB / 414.1 MB Notification: Performance of Templates: time 0.006682/0.4178, allocations: 2.5 MB / 0.5734 GB, free: 7.266 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.5442306022159755]