Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001673/0.001673, allocations: 113.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.2 MB / 255.2 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.252/0.252, allocations: 46.88 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 80.64 kB / 0.4924 GB, free: 26.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1352, allocations: 65.97 MB / 0.5568 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002824/0.1381, allocations: 1.475 MB / 0.5582 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1402, allocations: 1.454 MB / 0.5597 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.1402, allocations: 0 / 0.5597 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1404, allocations: 39.77 kB / 0.5597 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.1406, allocations: 55.62 kB / 0.5598 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.1412, allocations: 227 kB / 0.56 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1413, allocations: 55.72 kB / 0.56 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.1414, allocations: 0 / 0.56 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.1414, allocations: 23.92 kB / 0.56 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.1415, allocations: 35.78 kB / 0.5601 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1415, allocations: 0 / 0.5601 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.1422, allocations: 335.6 kB / 0.5604 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.1422, allocations: 11.92 kB / 0.5604 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.1422, allocations: 27.8 kB / 0.5604 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.1427, allocations: 287.1 kB / 0.5607 GB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1428, allocations: 0 / 0.5607 GB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1428, allocations: 0 / 0.5607 GB, free: 4.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1428, allocations: 0 / 0.5607 GB, free: 4.613 MB / 414.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.0007503/0.1435, allocations: 422.6 kB / 0.5611 GB, free: 4.152 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1436, allocations: 8.031 kB / 0.5611 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1436, allocations: 8.891 kB / 0.5611 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1438, allocations: 172.3 kB / 0.5613 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1438, allocations: 4.375 kB / 0.5613 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.1439, allocations: 12.31 kB / 0.5613 GB, free: 3.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1441, allocations: 73.73 kB / 0.5614 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1441, allocations: 0 / 0.5614 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1441, allocations: 0 / 0.5614 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1441, allocations: 0 / 0.5614 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1442, allocations: 59.95 kB / 0.5614 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.1445, allocations: 189.6 kB / 0.5616 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1446, allocations: 50.56 kB / 0.5617 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.1447, allocations: 40.84 kB / 0.5617 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/0.1447, allocations: 23.98 kB / 0.5617 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1448, allocations: 38.44 kB / 0.5618 GB, free: 3.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1448, allocations: 0 / 0.5618 GB, free: 3.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02048/0.1653, allocations: 1.623 MB / 0.5633 GB, free: 1.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1653, allocations: 55.41 kB / 0.5634 GB, free: 1.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1655, allocations: 139.3 kB / 0.5635 GB, free: 1.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1655, allocations: 29.7 kB / 0.5636 GB, free: 1.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.1656, allocations: 80.14 kB / 0.5636 GB, free: 1.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.1656, allocations: 51.62 kB / 0.5637 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1657, allocations: 49.62 kB / 0.5637 GB, free: 1.281 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1659, allocations: 318.8 kB / 0.564 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.1665, allocations: 199.9 kB / 0.5642 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.1672, allocations: 211.8 kB / 0.5644 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.1685, allocations: 380.6 kB / 0.5648 GB, free: 188 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1685, allocations: 0 / 0.5648 GB, free: 188 kB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001447/0.1699, allocations: 460.8 kB / 0.5652 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1699, allocations: 8 kB / 0.5652 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1699, allocations: 0 / 0.5652 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.17, allocations: 0 / 0.5652 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.1705, allocations: 63.94 kB / 0.5653 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1705, allocations: 0 / 0.5653 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.1709, allocations: 43.95 kB / 0.5653 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.171, allocations: 7.984 kB / 0.5654 GB, free: 15.61 MB / 430.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.0001359/0.1711, allocations: 125.7 kB / 0.5655 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.1711, allocations: 7.953 kB / 0.5655 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.1726, allocations: 366.1 kB / 0.5658 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1726, allocations: 0 / 0.5658 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1726, allocations: 3.938 kB / 0.5658 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1726, allocations: 4 kB / 0.5658 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.1755, allocations: 0.7778 MB / 0.5666 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1755, allocations: 4 kB / 0.5666 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.176, allocations: 67.97 kB / 0.5667 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.176, allocations: 0 / 0.5667 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.176, allocations: 7.984 kB / 0.5667 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.1761, allocations: 4 kB / 0.5667 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1761, allocations: 3.938 kB / 0.5667 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.1774, allocations: 417.8 kB / 0.5671 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1775, allocations: 109 kB / 0.5672 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1775, allocations: 4 kB / 0.5672 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.178, allocations: 35.95 kB / 0.5672 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.178, allocations: 19.92 kB / 0.5672 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.178, allocations: 11.94 kB / 0.5673 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.284e-05/0.1781, allocations: 96.95 kB / 0.5673 GB, free: 13.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1781, allocations: 0 / 0.5673 GB, free: 13.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006078/0.1787, allocations: 175.6 kB / 0.5675 GB, free: 13.27 MB / 430.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.000701/0.1794, allocations: 258.5 kB / 0.5678 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.1808, allocations: 351.8 kB / 0.5681 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1808, allocations: 3.938 kB / 0.5681 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.1814, allocations: 144 kB / 0.5682 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1818, allocations: 15.98 kB / 0.5682 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.1845, allocations: 0.5318 MB / 0.5688 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1849, allocations: 0.6924 MB / 0.5694 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.1851, allocations: 27.41 kB / 0.5695 GB, free: 11.19 MB / 430.1 MB Notification: Performance of SimCode: time 1.724e-06/0.1851, allocations: 4 kB / 0.5695 GB, free: 11.18 MB / 430.1 MB Notification: Performance of Templates: time 0.008166/0.1932, allocations: 4.617 MB / 0.574 GB, free: 6.562 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.996609102934599]