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.001789/0.001789, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002159/0.002159, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.537/1.537, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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.2226/0.2226, allocations: 34.28 MB / 295 MB, free: 14.56 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 1.032e-06/1.032e-06, allocations: 0 / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.263e-05, allocations: 2.281 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002487/0.002509, allocations: 1.453 MB / 444.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.004491, allocations: 1.292 MB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.00453, allocations: 0 / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.004698, allocations: 31.78 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.004907, allocations: 43.7 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.005439, allocations: 234.9 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.005579, allocations: 55.72 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.005626, allocations: 0 / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.005719, allocations: 31.91 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.005801, allocations: 23.91 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.005817, allocations: 0 / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006919/0.006509, allocations: 275.5 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.006533, allocations: 8 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.006579, allocations: 23.91 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.007175, allocations: 303.1 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.007181, allocations: 0 / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.007183, allocations: 0 / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.00719, allocations: 4 kB / 446.4 MB, free: 1.613 MB / 366.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.000767/0.007957, allocations: 341.5 kB / 446.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.008002, allocations: 8.031 kB / 446.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.00805, allocations: 8.891 kB / 446.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.008205, allocations: 124.9 kB / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.008221, allocations: 384 / 446.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.008247, allocations: 12.38 kB / 446.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.008413, allocations: 66.23 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.008425, allocations: 192 / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.008438, allocations: 4.125 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.008442, allocations: 0 / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.008564, allocations: 63.91 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.008767, allocations: 137.3 kB / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.008874, allocations: 46.56 kB / 447.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.008952, allocations: 44.83 kB / 447.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.009018, allocations: 19.94 kB / 447.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.00905, allocations: 38.56 kB / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.009051, allocations: 0 / 447.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.2285/0.2376, allocations: 1.63 MB / 449 MB, free: 19.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.2376, allocations: 57.62 kB / 449 MB, free: 19.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2377, allocations: 135.6 kB / 449.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.2378, allocations: 30.11 kB / 449.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.2378, allocations: 86.38 kB / 449.3 MB, free: 18.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.2379, allocations: 40.89 kB / 449.3 MB, free: 18.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.238, allocations: 47.27 kB / 449.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.238, allocations: 319.3 kB / 449.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.2387, allocations: 204.7 kB / 449.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006601/0.2394, allocations: 210.5 kB / 450.1 MB, free: 18.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2407, allocations: 382.9 kB / 450.4 MB, free: 18.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2407, allocations: 4 kB / 450.4 MB, free: 18.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001466/0.2421, allocations: 463.5 kB / 450.9 MB, free: 18.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2422, allocations: 9.156 kB / 450.9 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.2422, allocations: 0.7031 kB / 450.9 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.2422, allocations: 1.469 kB / 450.9 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.2428, allocations: 60.55 kB / 451 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2428, allocations: 5.281 kB / 451 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.2432, allocations: 39.7 kB / 451 MB, free: 18.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.2433, allocations: 12.77 kB / 451 MB, free: 18.14 MB / 366.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 9.762e-05/0.2434, allocations: 122.9 kB / 451.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.2434, allocations: 7.453 kB / 451.2 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.2449, allocations: 366.7 kB / 451.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2449, allocations: 2.453 kB / 451.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2449, allocations: 0.7969 kB / 451.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2449, allocations: 2.172 kB / 451.5 MB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.2479, allocations: 0.6992 MB / 452.2 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2479, allocations: 5.188 kB / 452.2 MB, free: 17.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.2484, allocations: 69.14 kB / 452.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2484, allocations: 1.375 kB / 452.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.2484, allocations: 7.312 kB / 452.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.2484, allocations: 2.75 kB / 452.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2484, allocations: 0 / 452.3 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.2498, allocations: 432.8 kB / 452.7 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.2499, allocations: 30.27 kB / 452.8 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.2499, allocations: 1.938 kB / 452.8 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.2504, allocations: 44.42 kB / 452.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.2504, allocations: 11.33 kB / 452.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.2505, allocations: 9.875 kB / 452.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.985e-05/0.2505, allocations: 99.8 kB / 452.9 MB, free: 17.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2505, allocations: 0 / 452.9 MB, free: 17.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006682/0.2512, allocations: 173 kB / 453.1 MB, free: 17.18 MB / 366.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.0006957/0.2519, allocations: 274.8 kB / 453.4 MB, free: 17.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.2533, allocations: 362.2 kB / 453.7 MB, free: 16.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2533, allocations: 1.125 kB / 453.7 MB, free: 16.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.2539, allocations: 143.5 kB / 453.8 MB, free: 16.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2542, allocations: 23.16 kB / 453.9 MB, free: 16.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.2569, allocations: 0.492 MB / 454.4 MB, free: 16.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.257, allocations: 83.28 kB / 454.4 MB, free: 16.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.2571, allocations: 40.42 kB / 454.5 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.2573, allocations: 26.34 kB / 454.5 MB, free: 16.58 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2573, allocations: 0 / 454.5 MB, free: 16.58 MB / 366.1 MB Notification: Performance of Templates: time 0.01757/0.2749, allocations: 8.927 MB / 463.4 MB, free: 14.11 MB / 366.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.231033015996218]