Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001378/0.001378, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00105/0.00105, allocations: 172.4 kB / 25.61 MB, free: 8.902 MB / 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 0.9664/0.9664, allocations: 177.1 MB / 206.1 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1276/0.1276, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.43e-05, allocations: 10.14 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001527/0.001541, allocations: 1.488 MB / 378.8 MB, free: 24.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002645, allocations: 1.366 MB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.002704, allocations: 4 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.002845, allocations: 27.78 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.003022, allocations: 47.64 kB / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.003352, allocations: 230.9 kB / 380.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003453, allocations: 59.66 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.003493, allocations: 7.984 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.003552, allocations: 31.91 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.003601, allocations: 19.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.003611, allocations: 4 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.004007, allocations: 263.7 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.00402, allocations: 15.86 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.004041, allocations: 15.94 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.0043, allocations: 303.1 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004303, allocations: 0 / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004304, allocations: 4 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.004308, allocations: 0 / 381.1 MB, free: 21.66 MB / 314.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.0003247/0.004632, allocations: 443.8 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.00466, allocations: 15.98 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.004687, allocations: 8.891 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.52e-05/0.004752, allocations: 131.4 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.004762, allocations: 384 / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.004777, allocations: 4.375 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.718e-05/0.004834, allocations: 42.25 kB / 381.8 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004842, allocations: 4.188 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.004848, allocations: 8.062 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004853, allocations: 4 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.004879, allocations: 15.98 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.527e-05/0.004974, allocations: 121.2 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.005012, allocations: 39.05 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.00503, allocations: 19.69 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.005065, allocations: 19.98 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.005078, allocations: 37.39 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.005078, allocations: 4 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.008247/0.01333, allocations: 1.294 MB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.01335, allocations: 59.41 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.774e-05/0.01341, allocations: 189.9 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.01342, allocations: 29.7 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/0.01344, allocations: 142.8 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.01347, allocations: 35.66 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.01354, allocations: 59.3 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.234e-05/0.01358, allocations: 0.4884 MB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.01366, allocations: 116 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.01374, allocations: 108 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.01393, allocations: 194.4 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01393, allocations: 0 / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002438/0.01417, allocations: 273.5 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.01418, allocations: 10.03 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.01419, allocations: 3.938 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.0142, allocations: 0 / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.0144, allocations: 51.94 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01441, allocations: 4 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.01455, allocations: 27.97 kB / 385.1 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01457, allocations: 15.98 kB / 385.1 MB, free: 17.47 MB / 314.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.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * 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 5.773e-05/0.01463, allocations: 164.5 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.01466, allocations: 7.953 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.01491, allocations: 182.2 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01492, allocations: 4 kB / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01492, allocations: 0 / 385.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01492, allocations: 4 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007528/0.01567, allocations: 0.5124 MB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01567, allocations: 3.938 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.01585, allocations: 59.98 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01585, allocations: 7.984 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01587, allocations: 4 kB / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01587, allocations: 0 / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01587, allocations: 0 / 386.1 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.01607, allocations: 318.7 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.01612, allocations: 31.8 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01614, allocations: 15.98 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.01629, allocations: 19.98 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.01631, allocations: 11.98 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.01632, allocations: 11.98 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.143e-05/0.01634, allocations: 134.1 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01634, allocations: 0 / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.01666, allocations: 175.6 kB / 386.8 MB, free: 15.73 MB / 314.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.0003932/0.01706, allocations: 266.7 kB / 387 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.01727, allocations: 199.5 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01727, allocations: 0 / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.01734, allocations: 63.53 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.01754, allocations: 43.42 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000968/0.01851, allocations: 383.6 kB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.418e-05/0.01853, allocations: 67.2 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.01864, allocations: 52.62 kB / 387.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.01879, allocations: 94.17 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01879, allocations: 4 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Templates: time 0.008114/0.02691, allocations: 10.07 MB / 398 MB, free: 4.457 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3077765880152583]