Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 187.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 44.91 MB / 353.5 MB, free: 11.79 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 497.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4539, allocations: 64.29 MB / 0.5488 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003396/0.4573, allocations: 1.471 MB / 0.5503 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.4597, allocations: 1.428 MB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.4598, allocations: 5.688 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.46, allocations: 36.27 kB / 0.5517 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.4603, allocations: 51.22 kB / 0.5518 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.4608, allocations: 219 kB / 0.552 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.4609, allocations: 60.12 kB / 0.552 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.461, allocations: 3.375 kB / 0.552 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.4611, allocations: 24.86 kB / 0.552 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.4611, allocations: 29.34 kB / 0.5521 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.4612, allocations: 2.312 kB / 0.5521 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.4619, allocations: 336.8 kB / 0.5524 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.4619, allocations: 13.17 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.4619, allocations: 29.61 kB / 0.5524 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.4625, allocations: 275.6 kB / 0.5527 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4625, allocations: 0 / 0.5527 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4625, allocations: 0 / 0.5527 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4625, allocations: 1.094 kB / 0.5527 GB, free: 10.16 MB / 398.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.0006884/0.4632, allocations: 345.9 kB / 0.553 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.4632, allocations: 10.14 kB / 0.553 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.4633, allocations: 12.53 kB / 0.5531 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.4634, allocations: 118.9 kB / 0.5532 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4635, allocations: 1.562 kB / 0.5532 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.4635, allocations: 7.781 kB / 0.5532 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4637, allocations: 68.36 kB / 0.5532 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4637, allocations: 1 kB / 0.5532 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4637, allocations: 4 kB / 0.5532 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4637, allocations: 1.094 kB / 0.5532 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4638, allocations: 56.59 kB / 0.5533 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.4641, allocations: 166.9 kB / 0.5535 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.4642, allocations: 60.62 kB / 0.5535 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.814e-05/0.4643, allocations: 39.23 kB / 0.5536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.51e-05/0.4644, allocations: 15.84 kB / 0.5536 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4644, allocations: 43.81 kB / 0.5536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.4644, allocations: 0 / 0.5536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.01984/0.4843, allocations: 1.625 MB / 0.5552 GB, free: 8.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.4843, allocations: 53.44 kB / 0.5552 GB, free: 8.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.4845, allocations: 129.3 kB / 0.5554 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.4845, allocations: 26.61 kB / 0.5554 GB, free: 8.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.4846, allocations: 93.27 kB / 0.5555 GB, free: 8.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.4846, allocations: 40.84 kB / 0.5555 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4847, allocations: 46.25 kB / 0.5556 GB, free: 8.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4849, allocations: 321.4 kB / 0.5559 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/0.4856, allocations: 204.7 kB / 0.5561 GB, free: 7.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.4862, allocations: 210.2 kB / 0.5563 GB, free: 7.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.4875, allocations: 388.5 kB / 0.5566 GB, free: 7.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4875, allocations: 4 kB / 0.5566 GB, free: 7.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001361/0.4888, allocations: 468.1 kB / 0.5571 GB, free: 6.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.4889, allocations: 4 kB / 0.5571 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4889, allocations: 0 / 0.5571 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.4889, allocations: 3.984 kB / 0.5571 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.4894, allocations: 71.88 kB / 0.5572 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4894, allocations: 0 / 0.5572 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.4898, allocations: 39.95 kB / 0.5572 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.4899, allocations: 11.92 kB / 0.5572 GB, free: 6.582 MB / 398.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.0001329/0.49, allocations: 121.8 kB / 0.5573 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.47e-05/0.49, allocations: 7.953 kB / 0.5573 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.4914, allocations: 362.1 kB / 0.5577 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.4914, allocations: 4 kB / 0.5577 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4914, allocations: 0 / 0.5577 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4914, allocations: 3.984 kB / 0.5577 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.4941, allocations: 0.7496 MB / 0.5584 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4941, allocations: 0 / 0.5584 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.4946, allocations: 71.97 kB / 0.5585 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4946, allocations: 0 / 0.5585 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.4946, allocations: 7.984 kB / 0.5585 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4946, allocations: 160 / 0.5585 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.4946, allocations: 15.88 kB / 0.5585 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.4958, allocations: 417.9 kB / 0.5589 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.4959, allocations: 31.91 kB / 0.5589 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.496, allocations: 8 kB / 0.559 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.4964, allocations: 39.95 kB / 0.559 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.4964, allocations: 11.92 kB / 0.559 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.4964, allocations: 19.92 kB / 0.559 GB, free: 4.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.461e-05/0.4965, allocations: 101.9 kB / 0.5591 GB, free: 4.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4965, allocations: 0 / 0.5591 GB, free: 4.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006758/0.4972, allocations: 171.6 kB / 0.5593 GB, free: 4.363 MB / 398.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.0006979/0.4979, allocations: 262.7 kB / 0.5595 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.4992, allocations: 355.7 kB / 0.5599 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4992, allocations: 0 / 0.5599 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.4997, allocations: 143.9 kB / 0.56 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.5001, allocations: 24.09 kB / 0.56 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.5026, allocations: 0.5035 MB / 0.5605 GB, free: 3.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.5029, allocations: 0.6961 MB / 0.5612 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.5031, allocations: 32.66 kB / 0.5612 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.5033, allocations: 31.41 kB / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5033, allocations: 0 / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of Templates: time 0.01418/0.5174, allocations: 8.628 MB / 0.5697 GB, free: 9.625 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.024132666178048]