Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001141/0.001141, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002744, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001208/0.001208, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004497/0.005705, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9043/0.9043, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1812/1.085, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.144/0.144, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02089/0.1649, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.605e-05, allocations: 6.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001694/0.00171, allocations: 1.527 MB / 268.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003057, allocations: 1.406 MB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.003098, allocations: 0 / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.41e-05/0.003192, allocations: 39.77 kB / 270.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.003315, allocations: 43.64 kB / 270.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.003665, allocations: 199 kB / 270.4 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.003771, allocations: 59.66 kB / 270.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.003809, allocations: 11.98 kB / 270.5 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.003877, allocations: 31.91 kB / 270.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.003934, allocations: 15.98 kB / 270.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.003944, allocations: 0 / 270.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.00435, allocations: 303.5 kB / 270.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.004365, allocations: 7.938 kB / 270.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.00439, allocations: 15.94 kB / 270.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.004688, allocations: 259.3 kB / 271.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.466e-05/0.004703, allocations: 0 / 271.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004704, allocations: 0 / 271.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.00472, allocations: 4 kB / 271.1 MB, free: 2.586 MB / 266.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.0004815/0.005202, allocations: 421 kB / 271.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.005236, allocations: 12.03 kB / 271.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.005265, allocations: 8.922 kB / 271.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.437e-05/0.00535, allocations: 117.7 kB / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.005362, allocations: 8.375 kB / 271.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.00538, allocations: 384 / 271.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.005456, allocations: 49.02 kB / 271.7 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.005466, allocations: 4.188 kB / 271.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005473, allocations: 4.125 kB / 271.7 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.005478, allocations: 7.938 kB / 271.7 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.005512, allocations: 19.97 kB / 271.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.696e-05/0.005609, allocations: 78.66 kB / 271.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/0.005659, allocations: 34.62 kB / 271.9 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.005682, allocations: 12.86 kB / 271.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.185e-05/0.005734, allocations: 19.98 kB / 271.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.005758, allocations: 42.55 kB / 271.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.00576, allocations: 3.938 kB / 272 MB, free: 1.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.006114/0.01187, allocations: 1.206 MB / 273.2 MB, free: 420 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.0119, allocations: 55.39 kB / 273.2 MB, free: 352 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.01198, allocations: 142.6 kB / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.012, allocations: 25.7 kB / 273.4 MB, free: 164 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.01202, allocations: 88.12 kB / 273.5 MB, free: 72 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.01205, allocations: 39.64 kB / 273.5 MB, free: 32 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.01213, allocations: 41.7 kB / 273.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.201e-05/0.0122, allocations: 326.8 kB / 273.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.0123, allocations: 110.8 kB / 274 MB, free: 15.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/0.01239, allocations: 111.9 kB / 274.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.01256, allocations: 199.7 kB / 274.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01256, allocations: 3.938 kB / 274.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000222/0.01278, allocations: 253.6 kB / 274.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.0128, allocations: 4 kB / 274.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.01281, allocations: 0 / 274.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.01281, allocations: 0 / 274.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.01307, allocations: 63.86 kB / 274.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01307, allocations: 7.938 kB / 274.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.0132, allocations: 31.97 kB / 274.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.01321, allocations: 8.141 kB / 274.6 MB, free: 14.87 MB / 282.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 7.288e-05/0.01329, allocations: 113.8 kB / 274.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.01331, allocations: 4 kB / 274.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.01355, allocations: 174.1 kB / 274.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01355, allocations: 0 / 274.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01355, allocations: 0 / 274.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01355, allocations: 7.938 kB / 274.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007137/0.01427, allocations: 448.9 kB / 275.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01427, allocations: 4.094 kB / 275.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.01447, allocations: 59.92 kB / 275.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.01451, allocations: 15.94 kB / 275.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01451, allocations: 3.938 kB / 275.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.01453, allocations: 11.98 kB / 275.5 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.01453, allocations: 4 kB / 275.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01453, allocations: 0 / 275.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.01472, allocations: 272.7 kB / 275.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.01475, allocations: 7.938 kB / 275.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.0149, allocations: 27.97 kB / 275.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.01491, allocations: 11.98 kB / 275.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01493, allocations: 7.984 kB / 275.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.01494, allocations: 25.34 kB / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01494, allocations: 0 / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.01525, allocations: 167.6 kB / 276 MB, free: 13.45 MB / 282.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.0003808/0.01563, allocations: 263.8 kB / 276.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.01586, allocations: 184.7 kB / 276.4 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.01586, allocations: 7.938 kB / 276.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.01593, allocations: 52.77 kB / 276.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.01611, allocations: 43.95 kB / 276.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.01769, allocations: 397 kB / 276.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.01773, allocations: 59.36 kB / 277 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.01785, allocations: 44.69 kB / 277 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.01802, allocations: 79.33 kB / 277.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01802, allocations: 0 / 277.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Templates: time 0.009155/0.02717, allocations: 9.789 MB / 286.9 MB, free: 2.414 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9115998279303312]