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.0009362/0.0009362, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.000958/0.000958, allocations: 171.4 kB / 24.82 MB, free: 8.879 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.9411/0.9411, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2385/0.2385, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.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 2.014e-06/2.014e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.829e-05, allocations: 6.25 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001785/0.001813, allocations: 1.503 MB / 378 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.003168, allocations: 1.366 MB / 379.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.003201, allocations: 0 / 379.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003323, allocations: 35.72 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.003467, allocations: 43.7 kB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.003758, allocations: 238.9 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.003842, allocations: 51.72 kB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.903e-05/0.003871, allocations: 3.984 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.602e-05/0.003937, allocations: 31.91 kB / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.00399, allocations: 27.91 kB / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.004, allocations: 0 / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.004339, allocations: 267.6 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.004351, allocations: 15.98 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.004374, allocations: 15.92 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.004651, allocations: 299.2 kB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004653, allocations: 3.938 kB / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004653, allocations: 0 / 380.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.004656, allocations: 0 / 380.4 MB, free: 0.4961 MB / 346.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.0003265/0.004983, allocations: 451.8 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.005013, allocations: 8.031 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.171e-05/0.005035, allocations: 8.891 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.005109, allocations: 120.6 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.005118, allocations: 8.375 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.00513, allocations: 4.375 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.163e-05/0.005192, allocations: 46.19 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005199, allocations: 192 / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-06/0.005205, allocations: 4.125 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.005209, allocations: 0 / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.005233, allocations: 19.98 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.784e-05/0.005331, allocations: 125.1 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.005372, allocations: 43.11 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.005391, allocations: 15.69 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.005431, allocations: 27.98 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.005449, allocations: 41.33 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.00545, allocations: 0 / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.007488/0.01294, allocations: 1.279 MB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.01296, allocations: 55.41 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.01304, allocations: 193.2 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.01306, allocations: 33.7 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.0131, allocations: 138.8 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.01314, allocations: 43.58 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.01321, allocations: 59.31 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01331, allocations: 0.4884 MB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.01341, allocations: 108 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.0135, allocations: 112 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.01371, allocations: 202.6 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01371, allocations: 4 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002851/0.01399, allocations: 269.5 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01401, allocations: 8 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.01402, allocations: 3.938 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01403, allocations: 3.984 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.01423, allocations: 51.95 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.01423, allocations: 0 / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.01437, allocations: 27.97 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.01438, allocations: 15.98 kB / 384.3 MB, free: 12.3 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.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 8.724e-05/0.01447, allocations: 160.5 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.0145, allocations: 11.95 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.01478, allocations: 186.2 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01478, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01478, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01478, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000768/0.01555, allocations: 0.5163 MB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01555, allocations: 7.938 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.01572, allocations: 59.88 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01572, allocations: 0 / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01573, allocations: 4 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01574, allocations: 4 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01574, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.01597, allocations: 318.8 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.01602, allocations: 27.86 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.01604, allocations: 7.984 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.01619, allocations: 23.98 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.0162, allocations: 7.984 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.01621, allocations: 15.98 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.01626, allocations: 139.2 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01626, allocations: 0 / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00034/0.0166, allocations: 171.6 kB / 386 MB, free: 10.57 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.0004336/0.01703, allocations: 270.7 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.01727, allocations: 195.5 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01727, allocations: 0 / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.563e-05/0.01735, allocations: 59.53 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.01756, allocations: 55.36 kB / 386.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.01857, allocations: 389.2 kB / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.01861, allocations: 63.34 kB / 387 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.01872, allocations: 40.92 kB / 387 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.01888, allocations: 98.17 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01888, allocations: 0 / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of Templates: time 0.009612/0.02849, allocations: 9.972 MB / 397.1 MB, free: 15.38 MB / 378.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.0445027728565037]