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.000888/0.000888, allocations: 78.66 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.00104/0.00104, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.117/1.117, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.3705/0.3705, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.875e-06/2.875e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.294e-05, allocations: 5.547 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002896/0.002929, allocations: 1.488 MB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.005156, allocations: 1.374 MB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.005219, allocations: 0 / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.005437, allocations: 31.72 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.005732, allocations: 43.7 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.00633, allocations: 235 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.006468, allocations: 59.61 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.006513, allocations: 4 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.006613, allocations: 31.91 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.006689, allocations: 15.97 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.006704, allocations: 4 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.007261, allocations: 271.6 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.007286, allocations: 15.84 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.00732, allocations: 19.94 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.007805, allocations: 303.1 kB / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.007808, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.007809, allocations: 0 / 382.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.007813, allocations: 0 / 382.4 MB, free: 14.48 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.000634/0.008447, allocations: 447.8 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.008509, allocations: 12.03 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.008555, allocations: 8.891 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.008691, allocations: 116.6 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.008707, allocations: 384 / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.008732, allocations: 8.375 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.008818, allocations: 46.23 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.00883, allocations: 8.125 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.00884, allocations: 12.06 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.008847, allocations: 0 / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.314e-05/0.00888, allocations: 15.98 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.009035, allocations: 125.1 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.009097, allocations: 43.11 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.009125, allocations: 23.69 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.009196, allocations: 19.98 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.009225, allocations: 37.39 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.009226, allocations: 4 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.007656/0.01688, allocations: 1.283 MB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01691, allocations: 55.41 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.01702, allocations: 197.3 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01704, allocations: 25.7 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.01709, allocations: 134.9 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.01713, allocations: 47.56 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.01721, allocations: 55.33 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.01745, allocations: 0.4923 MB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.01756, allocations: 115.9 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.01766, allocations: 108 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.01788, allocations: 202.6 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01789, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003154/0.0182, allocations: 277.5 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01822, allocations: 4 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.01823, allocations: 3.938 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01824, allocations: 0 / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.01846, allocations: 51.94 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01847, allocations: 4 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.01861, allocations: 31.97 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.01862, allocations: 4 kB / 386.4 MB, free: 10.29 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 0.0001043/0.01873, allocations: 168.5 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.01875, allocations: 7.953 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.01906, allocations: 178.3 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01907, allocations: 0 / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01907, allocations: 4 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01908, allocations: 3.984 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.02018, allocations: 0.5241 MB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.02018, allocations: 4.031 kB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.02036, allocations: 59.89 kB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.02037, allocations: 4 kB / 387.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.02038, allocations: 7.984 kB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.02038, allocations: 0 / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.02039, allocations: 4 kB / 387.3 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.02066, allocations: 307.1 kB / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.02072, allocations: 35.78 kB / 387.6 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.02074, allocations: 4 kB / 387.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.02088, allocations: 27.97 kB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.0209, allocations: 7.984 kB / 387.7 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.02092, allocations: 11.98 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.02097, allocations: 139.2 kB / 387.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02097, allocations: 3.938 kB / 387.8 MB, free: 8.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.02138, allocations: 171.6 kB / 388 MB, free: 8.543 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.0004582/0.02184, allocations: 274.7 kB / 388.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.02211, allocations: 187.5 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.02211, allocations: 0 / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.02218, allocations: 67.52 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.02241, allocations: 43.28 kB / 388.6 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.02351, allocations: 385.4 kB / 388.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.02357, allocations: 67.34 kB / 389 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.02374, allocations: 40.94 kB / 389 MB, free: 7.422 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.02393, allocations: 102.2 kB / 389.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02394, allocations: 0 / 389.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of Templates: time 0.01165/0.03559, allocations: 9.964 MB / 399.1 MB, free: 13.36 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.6110685132443905]