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.002054/0.002054, allocations: 73.33 kB / 19.93 MB, free: 1.77 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.00246/0.00246, allocations: 173.8 kB / 23.22 MB, free: 4.887 MB / 14.72 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.575/1.575, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] 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.2346/0.2346, allocations: 32.38 MB / 269.6 MB, free: 4.656 MB / 254.1 MB " [Timeout remaining time 179] 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.174e-06/2.174e-06, allocations: 0 / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.79e-05, allocations: 2.281 kB / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003162/0.0032, allocations: 1.431 MB / 408.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.005514, allocations: 1.313 MB / 410.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.005576, allocations: 0 / 410.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.005864, allocations: 31.78 kB / 410.1 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.00625, allocations: 47.62 kB / 410.2 MB, free: 168 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.006912, allocations: 231.1 kB / 410.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.007067, allocations: 59.66 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.456e-05/0.007122, allocations: 3.984 kB / 410.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.00722, allocations: 31.91 kB / 410.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.007301, allocations: 23.97 kB / 410.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.007316, allocations: 0 / 410.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.007855, allocations: 267.6 kB / 410.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.007885, allocations: 11.92 kB / 410.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.007931, allocations: 19.92 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.008471, allocations: 311.1 kB / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.008478, allocations: 0 / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.00848, allocations: 0 / 411.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.008486, allocations: 0 / 411.1 MB, free: 15.22 MB / 350.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.0006938/0.00918, allocations: 341.5 kB / 411.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.009236, allocations: 8.031 kB / 411.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.009287, allocations: 8.891 kB / 411.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.00945, allocations: 116.9 kB / 411.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.009469, allocations: 4.375 kB / 411.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.009497, allocations: 4.375 kB / 411.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.009665, allocations: 74.22 kB / 411.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.009678, allocations: 192 / 411.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.009692, allocations: 4.125 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.0097, allocations: 4 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.009815, allocations: 59.91 kB / 411.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.01003, allocations: 129.3 kB / 411.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.01014, allocations: 58.48 kB / 411.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.375e-05/0.01022, allocations: 40.84 kB / 412 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.937e-05/0.01029, allocations: 23.97 kB / 412 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.01032, allocations: 30.56 kB / 412 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.01032, allocations: 8 kB / 412 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.02151/0.03183, allocations: 1.63 MB / 413.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.0319, allocations: 59.41 kB / 413.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.03208, allocations: 142 kB / 413.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.03212, allocations: 25.7 kB / 413.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.0322, allocations: 88.12 kB / 414 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.03226, allocations: 39.64 kB / 414 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.03237, allocations: 45.69 kB / 414 MB, free: 12.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.03261, allocations: 318.8 kB / 414.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.03329, allocations: 203.9 kB / 414.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/0.03397, allocations: 203.9 kB / 414.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.03538, allocations: 400.7 kB / 415.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.03538, allocations: 3.938 kB / 415.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001579/0.03696, allocations: 457.4 kB / 415.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.037, allocations: 7.938 kB / 415.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.03701, allocations: 0 / 415.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.03704, allocations: 0 / 415.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.03761, allocations: 63.94 kB / 415.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.03763, allocations: 7.938 kB / 415.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.03807, allocations: 43.95 kB / 415.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.0381, allocations: 4 kB / 415.7 MB, free: 10.43 MB / 350.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 0.000201/0.0383, allocations: 113.8 kB / 415.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.03835, allocations: 15.88 kB / 415.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.0399, allocations: 362.1 kB / 416.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.03991, allocations: 0 / 416.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.03992, allocations: 3.984 kB / 416.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.03992, allocations: 4 kB / 416.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.043, allocations: 0.7033 MB / 416.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.043, allocations: 3.938 kB / 416.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.04349, allocations: 59.94 kB / 417 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.04349, allocations: 4 kB / 417 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.04352, allocations: 16.02 kB / 417 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.04353, allocations: 0 / 417 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.04353, allocations: 4 kB / 417 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.04494, allocations: 421.8 kB / 417.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.04503, allocations: 27.92 kB / 417.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.04507, allocations: 7.984 kB / 417.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.04553, allocations: 39.97 kB / 417.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.04556, allocations: 7.984 kB / 417.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.04558, allocations: 11.98 kB / 417.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.04569, allocations: 95.27 kB / 417.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04569, allocations: 0 / 417.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007374/0.04642, allocations: 167.6 kB / 417.8 MB, free: 8.301 MB / 350.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.0008151/0.04724, allocations: 286.5 kB / 418 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.04868, allocations: 363.7 kB / 418.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.04868, allocations: 0 / 418.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.04931, allocations: 148.1 kB / 418.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.04975, allocations: 12 kB / 418.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.05255, allocations: 0.4973 MB / 419 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.05266, allocations: 75.89 kB / 419.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.05286, allocations: 44.69 kB / 419.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.05303, allocations: 28.48 kB / 419.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.05303, allocations: 4 kB / 419.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of Templates: time 0.01653/0.06956, allocations: 8.918 MB / 428.1 MB, free: 13.88 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.544410157948732]