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.001858/0.001858, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002756/0.002756, allocations: 214.2 kB / 23.74 MB, free: 4.656 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.58/1.58, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2575/0.2575, allocations: 46.94 MB / 360.9 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 179] 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.002302/0.002302, allocations: 67.91 kB / 0.4966 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.374, allocations: 66.03 MB / 0.5611 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003153/0.3771, allocations: 1.489 MB / 0.5626 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.3795, allocations: 1.457 MB / 0.564 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3796, allocations: 0 / 0.564 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.3798, allocations: 35.77 kB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.3801, allocations: 51.5 kB / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.3806, allocations: 223.1 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.3808, allocations: 55.72 kB / 0.5644 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.3808, allocations: 4 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.3809, allocations: 27.8 kB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.381, allocations: 31.84 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.381, allocations: 4 kB / 0.5644 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006515/0.3816, allocations: 335.6 kB / 0.5647 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.3817, allocations: 4 kB / 0.5647 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.3817, allocations: 35.78 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.3822, allocations: 273.7 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3822, allocations: 0 / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3822, allocations: 0 / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3822, allocations: 0 / 0.565 GB, free: 364 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.0006768/0.3829, allocations: 349.6 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3829, allocations: 12.03 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.383, allocations: 8.875 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.3831, allocations: 122.3 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3831, allocations: 4.375 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3832, allocations: 8.312 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3833, allocations: 69.8 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3833, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3833, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3833, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3834, allocations: 63.97 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.3837, allocations: 160.6 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.3838, allocations: 54.5 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.3838, allocations: 44.83 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.3839, allocations: 20.22 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.3839, allocations: 34.5 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.11e-07/0.3839, allocations: 0 / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02024/0.4042, allocations: 1.634 MB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4042, allocations: 59.34 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4044, allocations: 134.1 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4044, allocations: 29.7 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.4045, allocations: 88.12 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.4045, allocations: 47.64 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4046, allocations: 41.69 kB / 0.5679 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4048, allocations: 318.8 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/0.4055, allocations: 203.9 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.4061, allocations: 217.5 kB / 0.5686 GB, free: 12.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.4075, allocations: 394.9 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4075, allocations: 0 / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00146/0.4089, allocations: 457.4 kB / 0.5694 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.409, allocations: 4 kB / 0.5694 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.409, allocations: 7.984 kB / 0.5695 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.409, allocations: 7.984 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.4095, allocations: 63.88 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4095, allocations: 0 / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.41, allocations: 35.97 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.41, allocations: 7.984 kB / 0.5696 GB, free: 11.51 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.0001442/0.4101, allocations: 125.7 kB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4102, allocations: 11.95 kB / 0.5697 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.4116, allocations: 362.1 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4116, allocations: 3.938 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4116, allocations: 0 / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4116, allocations: 7.984 kB / 0.5701 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/0.4146, allocations: 0.7573 MB / 0.5708 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4146, allocations: 0 / 0.5708 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.4151, allocations: 64.03 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4151, allocations: 4 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.4151, allocations: 11.97 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4151, allocations: 0 / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4151, allocations: 3.938 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.4165, allocations: 429.8 kB / 0.5713 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.4166, allocations: 31.91 kB / 0.5713 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.4166, allocations: 0 / 0.5713 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/0.4171, allocations: 43.95 kB / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.4171, allocations: 15.92 kB / 0.5714 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.4171, allocations: 7.984 kB / 0.5714 GB, free: 9.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.55e-05/0.4172, allocations: 102.2 kB / 0.5715 GB, free: 9.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4172, allocations: 0 / 0.5715 GB, free: 9.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006483/0.4178, allocations: 171.6 kB / 0.5716 GB, free: 9.281 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.0006646/0.4185, allocations: 254.7 kB / 0.5719 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.4199, allocations: 359.7 kB / 0.5722 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4199, allocations: 0 / 0.5722 GB, free: 8.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.4205, allocations: 144 kB / 0.5724 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4208, allocations: 22.73 kB / 0.5724 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.4234, allocations: 0.511 MB / 0.5729 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.4238, allocations: 0.6968 MB / 0.5736 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.424, allocations: 40.88 kB / 0.5736 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.4241, allocations: 27.41 kB / 0.5736 GB, free: 7.172 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4241, allocations: 0 / 0.5736 GB, free: 7.172 MB / 414.1 MB Notification: Performance of Templates: time 0.01501/0.4391, allocations: 8.622 MB / 0.582 GB, free: 14.54 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/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: 5.792751350905746]