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.001336/0.001336, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001436/0.001436, allocations: 206.8 kB / 24.49 MB, free: 3.965 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2264/0.2264, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.00203/0.00203, allocations: 67.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3193, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002737/0.322, allocations: 1.444 MB / 0.5632 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.3243, allocations: 1.29 MB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.3244, allocations: 0 / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.3246, allocations: 27.84 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.3249, allocations: 47.48 kB / 0.5646 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.3254, allocations: 227.1 kB / 0.5648 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3255, allocations: 63.66 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.3256, allocations: 0 / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.3256, allocations: 27.92 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.3257, allocations: 19.86 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.3257, allocations: 7.938 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000571/0.3263, allocations: 279.7 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.3263, allocations: 19.91 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.3264, allocations: 23.88 kB / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.3268, allocations: 261.7 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3268, allocations: 7.938 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3268, allocations: 0 / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3268, allocations: 0 / 0.5655 GB, free: 456 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.0006517/0.3275, allocations: 341.5 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3275, allocations: 8.031 kB / 0.5658 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.3276, allocations: 8.891 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3277, allocations: 122.4 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3277, allocations: 4.375 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3277, allocations: 384 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3279, allocations: 69.8 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3279, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3279, allocations: 8 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3279, allocations: 0 / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.328, allocations: 59.97 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3282, allocations: 137.2 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.566e-05/0.3283, allocations: 62.48 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.3283, allocations: 36.84 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.3284, allocations: 19.98 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3284, allocations: 38.56 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3284, allocations: 0 / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02139/0.3498, allocations: 1.638 MB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3499, allocations: 55.41 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.35, allocations: 136.7 kB / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.3501, allocations: 33.7 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.3501, allocations: 84.14 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.3502, allocations: 47.64 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3503, allocations: 41.69 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3504, allocations: 318.8 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.3511, allocations: 203.9 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.3518, allocations: 214.8 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.3531, allocations: 392.6 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3531, allocations: 0 / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001467/0.3546, allocations: 463 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3546, allocations: 4 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3546, allocations: 0 / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3547, allocations: 4 kB / 0.5698 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.3552, allocations: 67.88 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3552, allocations: 0 / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.3557, allocations: 39.95 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.3557, allocations: 7.984 kB / 0.57 GB, free: 11.65 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.000127/0.3558, allocations: 117.8 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.3559, allocations: 11.89 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.3573, allocations: 373.9 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3573, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3573, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3575, allocations: 31.91 kB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.3575, allocations: 0 / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.3579, allocations: 43.95 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.358, allocations: 7.984 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001725/0.3597, allocations: 444.8 kB / 0.5709 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001388/0.3611, allocations: 498.5 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005768/0.3616, allocations: 135.9 kB / 0.5715 GB, free: 9.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.194e-05/0.3617, allocations: 99.27 kB / 0.5716 GB, free: 9.879 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.3617, allocations: 0 / 0.5716 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.3635, allocations: 457.6 kB / 0.5721 GB, free: 9.426 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007943/0.3643, allocations: 0.6566 MB / 0.5727 GB, free: 8.727 MB / 414.1 MB Notification: Performance of Templates: time 0.01443/0.3787, allocations: 9.206 MB / 0.5817 GB, free: 15.53 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/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: 5.079225519002648]