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.00705/0.00705, allocations: 110.2 kB / 21.98 MB, free: 5.18 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.001899/0.001899, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.475/1.475, allocations: 230.5 MB / 258.9 MB, free: 7.98 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.2285/0.2285, allocations: 46.93 MB / 362.3 MB, free: 4.168 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.002446/0.002446, allocations: 83.84 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3466, allocations: 66.08 MB / 0.5627 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003354/0.35, allocations: 1.475 MB / 0.5642 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3525, allocations: 1.469 MB / 0.5656 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.3526, allocations: 4 kB / 0.5656 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.3528, allocations: 31.77 kB / 0.5656 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.353, allocations: 47.5 kB / 0.5657 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.3536, allocations: 227.1 kB / 0.5659 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3537, allocations: 59.66 kB / 0.566 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.3537, allocations: 4 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.3538, allocations: 27.86 kB / 0.566 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.3539, allocations: 31.84 kB / 0.566 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.3539, allocations: 0 / 0.566 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.3545, allocations: 339.6 kB / 0.5663 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3545, allocations: 7.984 kB / 0.5664 GB, free: 500 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.3546, allocations: 31.8 kB / 0.5664 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.355, allocations: 265.8 kB / 0.5666 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3551, allocations: 4 kB / 0.5666 GB, free: 204 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3551, allocations: 4 kB / 0.5666 GB, free: 200 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3551, allocations: 0 / 0.5666 GB, free: 200 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.0006269/0.3557, allocations: 357.5 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3557, allocations: 8.031 kB / 0.567 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.3558, allocations: 8.891 kB / 0.567 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3559, allocations: 114.4 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3559, allocations: 4.375 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.3559, allocations: 4.375 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3561, allocations: 73.8 kB / 0.5672 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3561, allocations: 0 / 0.5672 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3561, allocations: 0 / 0.5672 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.3561, allocations: 4 kB / 0.5672 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.3562, allocations: 55.97 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.3564, allocations: 164.6 kB / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3566, allocations: 62.48 kB / 0.5675 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.3566, allocations: 32.84 kB / 0.5675 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.559e-05/0.3567, allocations: 20 kB / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3567, allocations: 42.5 kB / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3567, allocations: 0 / 0.5676 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02017/0.3769, allocations: 1.63 MB / 0.5691 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3769, allocations: 59.34 kB / 0.5692 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3771, allocations: 137.9 kB / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3771, allocations: 25.7 kB / 0.5694 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3772, allocations: 88.12 kB / 0.5694 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.3772, allocations: 47.62 kB / 0.5695 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3773, allocations: 57.62 kB / 0.5695 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3775, allocations: 314.8 kB / 0.5698 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.3781, allocations: 203.9 kB / 0.57 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.3788, allocations: 219.1 kB / 0.5702 GB, free: 12.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.38, allocations: 388.7 kB / 0.5706 GB, free: 11.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.38, allocations: 0 / 0.5706 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001372/0.3814, allocations: 457.4 kB / 0.5711 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3814, allocations: 4 kB / 0.5711 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3814, allocations: 3.984 kB / 0.5711 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.3814, allocations: 0 / 0.5711 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.382, allocations: 67.88 kB / 0.5711 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.382, allocations: 0 / 0.5711 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.3824, allocations: 47.95 kB / 0.5712 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.3824, allocations: 4 kB / 0.5712 GB, free: 11.35 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.0001404/0.3825, allocations: 117.8 kB / 0.5713 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3826, allocations: 7.953 kB / 0.5713 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.384, allocations: 366 kB / 0.5716 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.384, allocations: 4 kB / 0.5716 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.384, allocations: 3.984 kB / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.384, allocations: 0 / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.3868, allocations: 0.7535 MB / 0.5724 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3868, allocations: 0 / 0.5724 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.3872, allocations: 67.94 kB / 0.5725 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3872, allocations: 0 / 0.5725 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.3873, allocations: 12.05 kB / 0.5725 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.3873, allocations: 0 / 0.5725 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.3873, allocations: 11.88 kB / 0.5725 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3886, allocations: 421.9 kB / 0.5729 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.3887, allocations: 27.86 kB / 0.5729 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.3887, allocations: 8 kB / 0.5729 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.3892, allocations: 39.95 kB / 0.5729 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.3892, allocations: 11.92 kB / 0.573 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/0.3892, allocations: 19.98 kB / 0.573 GB, free: 9.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.005e-05/0.3893, allocations: 107.1 kB / 0.5731 GB, free: 9.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 0 / 0.5731 GB, free: 9.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006077/0.3899, allocations: 167.6 kB / 0.5732 GB, free: 9.125 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.0006555/0.3906, allocations: 250.7 kB / 0.5735 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.3919, allocations: 359.7 kB / 0.5738 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3919, allocations: 4 kB / 0.5738 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.3925, allocations: 148 kB / 0.574 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3928, allocations: 8 kB / 0.574 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.3954, allocations: 0.5361 MB / 0.5745 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.3957, allocations: 0.6924 MB / 0.5752 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.3959, allocations: 27.41 kB / 0.5752 GB, free: 7.039 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3959, allocations: 0 / 0.5752 GB, free: 7.039 MB / 414.1 MB Notification: Performance of Templates: time 0.008261/0.4041, allocations: 4.628 MB / 0.5797 GB, free: 2.406 MB / 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/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-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: 7.826271811965853]