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.002446/0.002446, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.003155/0.003155, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.565/1.565, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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.364/0.364, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 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 1.894e-06/1.894e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.235e-05, allocations: 13.91 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002944/0.002976, allocations: 1.473 MB / 378.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.00541, allocations: 1.382 MB / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.005455, allocations: 0 / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.005655, allocations: 39.7 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.0059, allocations: 47.83 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.006427, allocations: 223 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.006558, allocations: 59.66 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.006608, allocations: 8 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.456e-05/0.006693, allocations: 35.89 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.006756, allocations: 11.98 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.006773, allocations: 4 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.007356, allocations: 275.5 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.007376, allocations: 7.922 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.007414, allocations: 19.94 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.007937, allocations: 299.1 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.007946, allocations: 3.984 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007947, allocations: 0 / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.007952, allocations: 4 kB / 381.2 MB, free: 15.06 MB / 362.7 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.0006528/0.008605, allocations: 443.5 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.008642, allocations: 8.031 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.008694, allocations: 16.83 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.00883, allocations: 120.5 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.008843, allocations: 384 / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.008868, allocations: 8.375 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.008995, allocations: 46.25 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.009005, allocations: 192 / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.009019, allocations: 8.062 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.009026, allocations: 8 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.009106, allocations: 31.97 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.00933, allocations: 144.5 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.009427, allocations: 47.05 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.009488, allocations: 23.69 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.591e-05/0.009554, allocations: 19.98 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.009592, allocations: 41.39 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.009594, allocations: 0 / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.02103/0.03063, allocations: 1.45 MB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.03068, allocations: 51.41 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.03087, allocations: 201.9 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.03091, allocations: 25.7 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.031, allocations: 138.8 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.03106, allocations: 43.69 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.03119, allocations: 47.34 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.03147, allocations: 0.4923 MB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.03209, allocations: 199.9 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/0.03272, allocations: 203.9 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.03393, allocations: 338.5 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.03393, allocations: 0 / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001369/0.0353, allocations: 437.3 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.03533, allocations: 7.938 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.03534, allocations: 0 / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.03536, allocations: 4 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.03586, allocations: 55.89 kB / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.03587, allocations: 0 / 385.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.03624, allocations: 23.97 kB / 385.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.03629, allocations: 20.14 kB / 385.8 MB, free: 10.19 MB / 362.7 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.000162/0.03645, allocations: 168.6 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.0365, allocations: 11.89 kB / 386 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.03785, allocations: 322.1 kB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.03785, allocations: 4 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.03785, allocations: 0 / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.03786, allocations: 0 / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.0407, allocations: 0.6874 MB / 387 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.04071, allocations: 0 / 387 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.04116, allocations: 47.95 kB / 387 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.04116, allocations: 4 kB / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.04119, allocations: 7.984 kB / 387.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.0412, allocations: 0 / 387.1 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.04121, allocations: 4.031 kB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.04251, allocations: 454.9 kB / 387.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.04261, allocations: 27.92 kB / 387.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.04265, allocations: 11.98 kB / 387.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.04304, allocations: 19.98 kB / 387.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.04308, allocations: 11.92 kB / 387.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.0431, allocations: 11.98 kB / 387.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.04321, allocations: 150.1 kB / 387.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04321, allocations: 0 / 387.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006825/0.0439, allocations: 175.5 kB / 387.9 MB, free: 7.996 MB / 362.7 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.0007688/0.04467, allocations: 274.7 kB / 388.2 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.04596, allocations: 355.1 kB / 388.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.04596, allocations: 0 / 388.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005507/0.04651, allocations: 131.7 kB / 388.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.04685, allocations: 39.16 kB / 388.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.04921, allocations: 445.2 kB / 389.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.549e-05/0.04931, allocations: 83.27 kB / 389.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.04949, allocations: 33 kB / 389.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.04965, allocations: 32.47 kB / 389.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04965, allocations: 3.938 kB / 389.3 MB, free: 6.555 MB / 362.7 MB Notification: Performance of Templates: time 0.01691/0.06655, allocations: 9.059 MB / 398.3 MB, free: 13.5 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] 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.351187573047355]