Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009729/0.0009729, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001003/0.001003, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9661/0.9661, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2757/0.2757, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.261e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002898/0.002931, allocations: 1.508 MB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.005001, allocations: 1.39 MB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.005058, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.005284, allocations: 43.72 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.005564, allocations: 47.62 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.006211, allocations: 223 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.006339, allocations: 55.67 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.006386, allocations: 7.984 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.006465, allocations: 35.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.00653, allocations: 19.97 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.006544, allocations: 0 / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.007145, allocations: 271.6 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.007168, allocations: 15.91 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.007206, allocations: 12 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005114/0.007717, allocations: 299.1 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.007722, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007723, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.007729, allocations: 0 / 381.9 MB, free: 14.73 MB / 362.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.0005708/0.0083, allocations: 455.8 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.008344, allocations: 12.03 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.008391, allocations: 8.891 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.008505, allocations: 120.5 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.008518, allocations: 384 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.008548, allocations: 8.375 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.008669, allocations: 46.25 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.00868, allocations: 192 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.008691, allocations: 4.125 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.0087, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.008756, allocations: 27.98 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.008949, allocations: 152.4 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.614e-05/0.009025, allocations: 43 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.00907, allocations: 27.67 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.009135, allocations: 23.97 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.009161, allocations: 37.39 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.009162, allocations: 0 / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.01038/0.01954, allocations: 1.302 MB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.01958, allocations: 51.41 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.01971, allocations: 196.7 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.01973, allocations: 29.7 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.01978, allocations: 134.8 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.01983, allocations: 47.84 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.01991, allocations: 55.3 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.02003, allocations: 0.4923 MB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.02019, allocations: 132 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.02033, allocations: 136 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.02066, allocations: 234.5 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.02067, allocations: 0 / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004105/0.02108, allocations: 317.5 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.0211, allocations: 7.938 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.02111, allocations: 0 / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.02113, allocations: 8 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.0214, allocations: 55.94 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.02141, allocations: 3.938 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.02157, allocations: 23.98 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.02159, allocations: 16.14 kB / 386.1 MB, free: 10.34 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.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 9.917e-05/0.02169, allocations: 160.6 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.02172, allocations: 15.89 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.02211, allocations: 190.2 kB / 386.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.02212, allocations: 4 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.02212, allocations: 4 kB / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.02212, allocations: 3.984 kB / 386.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.02317, allocations: 0.5508 MB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.02318, allocations: 4 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.02337, allocations: 59.97 kB / 387.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.02337, allocations: 0 / 387.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.02339, allocations: 8 kB / 387.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.0234, allocations: 4 kB / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.0234, allocations: 0 / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.02375, allocations: 330.9 kB / 387.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.02382, allocations: 27.91 kB / 387.4 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.02385, allocations: 8 kB / 387.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.02401, allocations: 27.97 kB / 387.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.02403, allocations: 7.984 kB / 387.5 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.02405, allocations: 12 kB / 387.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.02411, allocations: 139.2 kB / 387.6 MB, free: 8.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02411, allocations: 0 / 387.6 MB, free: 8.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.0246, allocations: 171.6 kB / 387.8 MB, free: 8.535 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.0005458/0.02514, allocations: 278.5 kB / 388.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.0255, allocations: 223.5 kB / 388.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.0255, allocations: 0 / 388.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.0256, allocations: 67.59 kB / 388.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.02586, allocations: 42.08 kB / 388.4 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.02716, allocations: 388 kB / 388.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.02721, allocations: 63.34 kB / 388.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.02734, allocations: 44.69 kB / 388.9 MB, free: 7.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.02747, allocations: 32.47 kB / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of SimCode: time 2.134e-06/0.02747, allocations: 4 kB / 388.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of Templates: time 0.0107/0.03817, allocations: 9.061 MB / 398 MB, free: 14.29 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.298368382267654]