Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.001502/0.001502, 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.001568/0.001568, allocations: 209.8 kB / 24.5 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8 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.2393/0.2393, allocations: 46.95 MB / 361.6 MB, free: 4.285 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.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 63.91 kB / 0.4974 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3633, allocations: 66.03 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002745/0.366, allocations: 1.486 MB / 0.5633 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.3682, allocations: 1.457 MB / 0.5648 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.3682, allocations: 8 kB / 0.5648 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3684, allocations: 31.77 kB / 0.5648 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3686, allocations: 47.5 kB / 0.5648 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.3691, allocations: 223.1 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3692, allocations: 59.72 kB / 0.5651 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.3693, allocations: 4 kB / 0.5651 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.3693, allocations: 23.86 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.3694, allocations: 27.84 kB / 0.5652 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.3694, allocations: 4 kB / 0.5652 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.37, allocations: 339.6 kB / 0.5655 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.37, allocations: 7.984 kB / 0.5655 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.3701, allocations: 35.73 kB / 0.5655 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.3705, allocations: 273.7 kB / 0.5658 GB, free: 428 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3705, allocations: 0 / 0.5658 GB, free: 428 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3705, allocations: 4 kB / 0.5658 GB, free: 424 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3705, allocations: 0 / 0.5658 GB, free: 424 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005862/0.3711, allocations: 353.5 kB / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3711, allocations: 8.031 kB / 0.5661 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.3712, allocations: 8.891 kB / 0.5661 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.3713, allocations: 114.5 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3713, allocations: 4.375 kB / 0.5663 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3714, allocations: 4.375 kB / 0.5663 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3715, allocations: 77.73 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3715, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.3715, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3715, allocations: 0 / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.3716, allocations: 59.97 kB / 0.5664 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.3718, allocations: 160.6 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3719, allocations: 54.62 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.372, allocations: 40.84 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.3721, allocations: 27.92 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3721, allocations: 34.5 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.3721, allocations: 0 / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.01976/0.3919, allocations: 1.63 MB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.3919, allocations: 55.34 kB / 0.5683 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3921, allocations: 137 kB / 0.5685 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3921, allocations: 29.7 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.3922, allocations: 88.12 kB / 0.5686 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.3922, allocations: 43.66 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3923, allocations: 49.67 kB / 0.5687 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3925, allocations: 318.8 kB / 0.569 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.3931, allocations: 203.9 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.3937, allocations: 217.3 kB / 0.5694 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.395, allocations: 394.7 kB / 0.5698 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.395, allocations: 0 / 0.5698 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001357/0.3963, allocations: 457.4 kB / 0.5702 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3963, allocations: 8 kB / 0.5702 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3963, allocations: 0 / 0.5702 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3964, allocations: 0 / 0.5702 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.3969, allocations: 67.92 kB / 0.5703 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3969, allocations: 0 / 0.5703 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.3973, allocations: 35.97 kB / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3973, allocations: 11.98 kB / 0.5703 GB, free: 11.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.3974, allocations: 125.7 kB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3975, allocations: 3.953 kB / 0.5704 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.3988, allocations: 370.1 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3988, allocations: 4 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3989, allocations: 0 / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3989, allocations: 3.984 kB / 0.5708 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.4016, allocations: 0.7574 MB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4016, allocations: 0 / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.4021, allocations: 63.88 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.4021, allocations: 4 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.4022, allocations: 12.05 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4022, allocations: 0 / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4022, allocations: 3.938 kB / 0.5716 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.4034, allocations: 429.8 kB / 0.572 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.4035, allocations: 31.91 kB / 0.5721 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.4036, allocations: 4 kB / 0.5721 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.404, allocations: 39.95 kB / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.404, allocations: 15.92 kB / 0.5721 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4041, allocations: 7.984 kB / 0.5721 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.349e-05/0.4041, allocations: 103.2 kB / 0.5722 GB, free: 9.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4041, allocations: 0 / 0.5722 GB, free: 9.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.4047, allocations: 171.6 kB / 0.5724 GB, free: 9.352 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006476/0.4054, allocations: 254.7 kB / 0.5726 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.4067, allocations: 359.7 kB / 0.573 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4067, allocations: 8 kB / 0.573 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.4072, allocations: 144.1 kB / 0.5731 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.4076, allocations: 19.98 kB / 0.5731 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.4101, allocations: 0.54 MB / 0.5737 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4104, allocations: 0.6929 MB / 0.5743 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.4106, allocations: 27.41 kB / 0.5744 GB, free: 7.246 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4106, allocations: 0 / 0.5744 GB, free: 7.246 MB / 414.1 MB Notification: Performance of Templates: time 0.007488/0.4181, allocations: 4.614 MB / 0.5789 GB, free: 2.625 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.894814149942249]