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.001617/0.001617, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001821/0.001821, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.499/1.499, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2328/0.2328, allocations: 46.96 MB / 361.6 MB, free: 4.031 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+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 0.002107/0.002107, allocations: 63.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3394, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003263/0.3427, allocations: 1.444 MB / 0.5632 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.3448, allocations: 1.286 MB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.3449, allocations: 3.938 kB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.345, allocations: 27.78 kB / 0.5645 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3453, allocations: 55.48 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.3458, allocations: 223.1 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3459, allocations: 47.8 kB / 0.5648 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.346, allocations: 7.984 kB / 0.5648 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.346, allocations: 27.75 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.3461, allocations: 35.84 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3461, allocations: 0 / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.3466, allocations: 287.7 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.3466, allocations: 11.98 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.3467, allocations: 15.88 kB / 0.5652 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.3471, allocations: 273.7 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3471, allocations: 0 / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3471, allocations: 0 / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3471, allocations: 0 / 0.5655 GB, free: 420 kB / 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.0005721/0.3477, allocations: 345.5 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3477, allocations: 12.03 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3478, allocations: 8.891 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3479, allocations: 110.5 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3479, allocations: 8.375 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.348, allocations: 384 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3481, allocations: 69.8 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3481, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3481, allocations: 7.938 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3482, allocations: 3.984 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.3483, allocations: 59.97 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.3484, allocations: 141.2 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3485, allocations: 62.55 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.3486, allocations: 32.84 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.247e-05/0.3487, allocations: 19.98 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3487, allocations: 38.56 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3487, allocations: 0 / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.02258/0.3713, allocations: 1.634 MB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3713, allocations: 55.41 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3715, allocations: 141.1 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3715, allocations: 25.7 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.3716, allocations: 88.14 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.3717, allocations: 43.64 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3718, allocations: 45.69 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3719, allocations: 322.8 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.3726, allocations: 203.9 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.3733, allocations: 214.7 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.3747, allocations: 388.6 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3747, allocations: 4 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001536/0.3763, allocations: 462.8 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3763, allocations: 4 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3763, allocations: 0 / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3763, allocations: 4 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.3769, allocations: 67.94 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3769, allocations: 0 / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.3773, allocations: 35.95 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3773, allocations: 7.938 kB / 0.57 GB, free: 11.61 MB / 414.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.0001363/0.3775, allocations: 129.7 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3775, allocations: 7.953 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.379, allocations: 370.1 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.379, allocations: 0 / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.379, allocations: 0 / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.379, allocations: 4 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.382, allocations: 0.6916 MB / 0.5711 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.382, allocations: 4 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.3825, allocations: 75.95 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3825, allocations: 0 / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3825, allocations: 4 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3825, allocations: 4 kB / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3825, allocations: 0 / 0.5712 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.3839, allocations: 429.7 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.384, allocations: 31.91 kB / 0.5716 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.3841, allocations: 4 kB / 0.5716 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004926/0.3846, allocations: 39.97 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.3846, allocations: 11.92 kB / 0.5717 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3846, allocations: 11.98 kB / 0.5717 GB, free: 9.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.886e-05/0.3847, allocations: 99.2 kB / 0.5718 GB, free: 9.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3847, allocations: 0 / 0.5718 GB, free: 9.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006224/0.3853, allocations: 175.6 kB / 0.572 GB, free: 9.457 MB / 414.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.0006599/0.386, allocations: 250.7 kB / 0.5722 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3874, allocations: 371.7 kB / 0.5726 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3874, allocations: 0 / 0.5726 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.3881, allocations: 148 kB / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3884, allocations: 16 kB / 0.5727 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.3912, allocations: 0.5071 MB / 0.5732 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.3913, allocations: 79.89 kB / 0.5733 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.3915, allocations: 44.62 kB / 0.5733 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.3916, allocations: 23.42 kB / 0.5734 GB, free: 7.969 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3916, allocations: 0 / 0.5734 GB, free: 7.969 MB / 414.1 MB Notification: Performance of Templates: time 0.01521/0.4069, allocations: 9.019 MB / 0.5822 GB, free: 14.96 MB / 430.1 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.304838640993694]