Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 110.5 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 219.9 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.2 MB / 257.8 MB, free: 8.477 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.22/0.22, allocations: 46.89 MB / 361.1 MB, free: 4.629 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 88.14 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2914, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003222/0.2946, allocations: 1.471 MB / 0.5626 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.2969, allocations: 1.465 MB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.2969, allocations: 0 / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.2971, allocations: 31.78 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.2973, allocations: 51.5 kB / 0.5642 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.2978, allocations: 227.1 kB / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.2979, allocations: 55.66 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.2979, allocations: 4 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.298, allocations: 31.84 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.2981, allocations: 27.86 kB / 0.5645 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2981, allocations: 4 kB / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006025/0.2987, allocations: 335.5 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.2987, allocations: 11.98 kB / 0.5648 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.2988, allocations: 27.81 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.2992, allocations: 274 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2992, allocations: 0 / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2992, allocations: 0 / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2992, allocations: 0 / 0.5651 GB, free: 1.008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005506/0.2997, allocations: 426.6 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2998, allocations: 8.031 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.2998, allocations: 12.88 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3, allocations: 176.3 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.3, allocations: 384 / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3, allocations: 4.375 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3001, allocations: 69.8 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3001, allocations: 0 / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3001, allocations: 4 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3001, allocations: 0 / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.3002, allocations: 55.97 kB / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.3005, allocations: 193.5 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.244e-05/0.3006, allocations: 58.48 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.3006, allocations: 44.78 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.3007, allocations: 16 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3007, allocations: 34.5 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 5.47e-06/0.3007, allocations: 4 kB / 0.5662 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0204/0.3211, allocations: 1.615 MB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.3212, allocations: 63.41 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3213, allocations: 136.7 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3213, allocations: 29.7 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3214, allocations: 84.12 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.3215, allocations: 55.56 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3216, allocations: 45.69 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3217, allocations: 318.8 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.3224, allocations: 207.8 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.323, allocations: 203.2 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3244, allocations: 388.7 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3244, allocations: 0 / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001439/0.3258, allocations: 445.4 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3258, allocations: 8 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3259, allocations: 3.984 kB / 0.5696 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3259, allocations: 4 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.3264, allocations: 63.88 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3264, allocations: 0 / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.3269, allocations: 43.95 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.3269, allocations: 8 kB / 0.5698 GB, free: 12 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.0001278/0.327, allocations: 117.8 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.327, allocations: 11.95 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.3285, allocations: 366 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3285, allocations: 3.984 kB / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3285, allocations: 0 / 0.5702 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3286, allocations: 105 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.3287, allocations: 4 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.3291, allocations: 39.97 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.3291, allocations: 11.92 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001688/0.3308, allocations: 432.9 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001353/0.3322, allocations: 494.4 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005834/0.3327, allocations: 143.9 kB / 0.5714 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.3328, allocations: 99.27 kB / 0.5715 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Backend: time 4.91e-07/0.3328, allocations: 0 / 0.5715 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.3345, allocations: 453.3 kB / 0.5719 GB, free: 9.707 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007558/0.3352, allocations: 0.6537 MB / 0.5726 GB, free: 9.004 MB / 414.1 MB Notification: Performance of Templates: time 0.014/0.3492, allocations: 8.712 MB / 0.5811 GB, free: 316 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.902651630807668]