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.001535/0.001535, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001815/0.001815, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 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 1.062/1.062, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.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.1431/0.1431, allocations: 32.37 MB / 270.7 MB, free: 14.77 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 2.254e-06/2.254e-06, allocations: 0 / 347.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.179e-05, allocations: 6.312 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001932/0.001964, allocations: 1.501 MB / 349.2 MB, free: 8.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003332, allocations: 1.395 MB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.003384, allocations: 4 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.003563, allocations: 19.86 kB / 350.6 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.003777, allocations: 63.55 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.004145, allocations: 219 kB / 350.9 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.004278, allocations: 63.66 kB / 350.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.004329, allocations: 4 kB / 350.9 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.004416, allocations: 39.83 kB / 351 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.004487, allocations: 11.98 kB / 351 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.004506, allocations: 4 kB / 351 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.004928, allocations: 263.6 kB / 351.2 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.004947, allocations: 15.91 kB / 351.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.004976, allocations: 12 kB / 351.3 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.005328, allocations: 303.1 kB / 351.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.005334, allocations: 0 / 351.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005335, allocations: 4 kB / 351.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.005347, allocations: 0 / 351.6 MB, free: 5.859 MB / 282.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.0004602/0.005807, allocations: 447.8 kB / 352 MB, free: 5.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.005849, allocations: 12.03 kB / 352 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.005895, allocations: 8.891 kB / 352 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.145e-05/0.005987, allocations: 120.5 kB / 352.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006002, allocations: 384 / 352.1 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.006027, allocations: 8.375 kB / 352.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.733e-05/0.006124, allocations: 46.25 kB / 352.2 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006135, allocations: 192 / 352.2 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.006146, allocations: 8.125 kB / 352.2 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-06/0.006155, allocations: 0 / 352.2 MB, free: 5.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.006199, allocations: 27.92 kB / 352.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.006345, allocations: 144.5 kB / 352.4 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.006403, allocations: 47.05 kB / 352.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.006438, allocations: 23.67 kB / 352.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.006488, allocations: 19.98 kB / 352.5 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.006507, allocations: 41.33 kB / 352.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/0.006509, allocations: 3.984 kB / 352.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.008334/0.01484, allocations: 1.313 MB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.01487, allocations: 51.41 kB / 353.9 MB, free: 3.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.01496, allocations: 197.8 kB / 354.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01498, allocations: 29.7 kB / 354.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.015, allocations: 135 kB / 354.2 MB, free: 3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.01504, allocations: 43.69 kB / 354.3 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.68e-05/0.01511, allocations: 51.3 kB / 354.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.926e-05/0.01516, allocations: 0.4923 MB / 354.8 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.01529, allocations: 140 kB / 354.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01541, allocations: 132 kB / 355.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.01566, allocations: 227.7 kB / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01566, allocations: 0 / 355.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003172/0.01598, allocations: 317.6 kB / 355.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.01599, allocations: 11.94 kB / 355.6 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.016, allocations: 4 kB / 355.6 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01602, allocations: 3.938 kB / 355.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.01626, allocations: 51.94 kB / 355.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01627, allocations: 3.938 kB / 355.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.01641, allocations: 27.98 kB / 355.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.01643, allocations: 15.98 kB / 355.7 MB, free: 1.469 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.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 7.77e-05/0.0165, allocations: 156.6 kB / 355.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.01653, allocations: 15.89 kB / 355.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.01688, allocations: 190.2 kB / 356.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01688, allocations: 8 kB / 356.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01688, allocations: 0 / 356.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01689, allocations: 0 / 356.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.01782, allocations: 0.5509 MB / 356.6 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01782, allocations: 4 kB / 356.6 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.018, allocations: 56.03 kB / 356.7 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01801, allocations: 3.984 kB / 356.7 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.01802, allocations: 8 kB / 356.7 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.01803, allocations: 4 kB / 356.7 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01803, allocations: 3.938 kB / 356.7 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.01829, allocations: 322.7 kB / 357 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.01835, allocations: 27.91 kB / 357.1 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.01837, allocations: 8 kB / 357.1 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.01853, allocations: 23.98 kB / 357.1 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.01857, allocations: 11.97 kB / 357.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.01859, allocations: 11.94 kB / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.01865, allocations: 150.1 kB / 357.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01865, allocations: 0 / 357.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004623/0.01911, allocations: 171.6 kB / 357.4 MB, free: 15.67 MB / 298.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.0005403/0.01965, allocations: 266.6 kB / 357.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.02, allocations: 231.5 kB / 357.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02001, allocations: 0 / 357.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.02011, allocations: 63.59 kB / 358 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.02036, allocations: 31.97 kB / 358 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.02165, allocations: 396.8 kB / 358.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.0217, allocations: 67.34 kB / 358.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.02183, allocations: 44.62 kB / 358.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.02193, allocations: 28.48 kB / 358.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02194, allocations: 0 / 358.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Templates: time 0.01136/0.0333, allocations: 9.072 MB / 367.6 MB, free: 5.41 MB / 298.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 -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: 3.4882319779135287]