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.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.001604/0.001604, allocations: 69.48 kB / 21.24 MB, free: 0.5547 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.001634/0.001634, allocations: 159.4 kB / 24.5 MB, free: 3.715 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.516/1.516, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.2403/0.2403, allocations: 32.82 MB / 294.1 MB, free: 28 kB / 270.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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 66.25 kB / 440.6 MB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3535, allocations: 65.45 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002489/0.356, allocations: 1.45 MB / 0.4956 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.3576, allocations: 1.286 MB / 0.4968 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.3577, allocations: 7.938 kB / 0.4968 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.3579, allocations: 39.28 kB / 0.4969 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.3581, allocations: 40.3 kB / 0.4969 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.3585, allocations: 225.8 kB / 0.4971 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.965e-05/0.3586, allocations: 54.91 kB / 0.4972 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.769e-05/0.3587, allocations: 2.969 kB / 0.4972 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.416e-05/0.3587, allocations: 31.62 kB / 0.4972 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.3588, allocations: 25.02 kB / 0.4972 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3588, allocations: 3.156 kB / 0.4972 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.3593, allocations: 268.9 kB / 0.4975 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.3593, allocations: 10.47 kB / 0.4975 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.3594, allocations: 21.25 kB / 0.4975 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.3597, allocations: 270.4 kB / 0.4978 GB, free: 29.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3597, allocations: 0 / 0.4978 GB, free: 29.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3597, allocations: 4 kB / 0.4978 GB, free: 29.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3597, allocations: 3.219 kB / 0.4978 GB, free: 29.18 MB / 446.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.00048/0.3602, allocations: 342.5 kB / 0.4981 GB, free: 28.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3603, allocations: 9.656 kB / 0.4981 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3603, allocations: 8.078 kB / 0.4981 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.3604, allocations: 109.8 kB / 0.4982 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3604, allocations: 7.75 kB / 0.4982 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3604, allocations: 3.812 kB / 0.4982 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.3605, allocations: 68.47 kB / 0.4983 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3606, allocations: 0 / 0.4983 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3606, allocations: 3.047 kB / 0.4983 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3606, allocations: 7.938 kB / 0.4983 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.3607, allocations: 58.77 kB / 0.4984 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.3608, allocations: 139.8 kB / 0.4985 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.4e-05/0.3609, allocations: 55.52 kB / 0.4986 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.361, allocations: 39.47 kB / 0.4986 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.361, allocations: 20.36 kB / 0.4986 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.361, allocations: 30.56 kB / 0.4986 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.361, allocations: 3.938 kB / 0.4987 GB, free: 28.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.02136/0.3824, allocations: 1.638 MB / 0.5003 GB, free: 28.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.3824, allocations: 54.72 kB / 0.5003 GB, free: 27.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3826, allocations: 135.1 kB / 0.5004 GB, free: 27.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.3826, allocations: 32.98 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.3826, allocations: 88.14 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.3827, allocations: 45.56 kB / 0.5006 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.3828, allocations: 48.08 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.3828, allocations: 321.5 kB / 0.5009 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.3835, allocations: 200.4 kB / 0.5011 GB, free: 27.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.384, allocations: 210.2 kB / 0.5013 GB, free: 27.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.3852, allocations: 391.3 kB / 0.5017 GB, free: 27.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3852, allocations: 0 / 0.5017 GB, free: 27.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001359/0.3866, allocations: 463.7 kB / 0.5022 GB, free: 26.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3866, allocations: 6.094 kB / 0.5022 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3866, allocations: 0 / 0.5022 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.3867, allocations: 3.125 kB / 0.5022 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.3873, allocations: 71.62 kB / 0.5022 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.3873, allocations: 3.938 kB / 0.5022 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.3877, allocations: 43.22 kB / 0.5023 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.3877, allocations: 6.438 kB / 0.5023 GB, free: 26.87 MB / 446.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 9.885e-05/0.3878, allocations: 121.7 kB / 0.5024 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3879, allocations: 14.39 kB / 0.5024 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.3892, allocations: 360.6 kB / 0.5028 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3892, allocations: 0 / 0.5028 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3892, allocations: 0 / 0.5028 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3892, allocations: 0 / 0.5028 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.392, allocations: 0.6953 MB / 0.5034 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.392, allocations: 0 / 0.5034 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.3925, allocations: 75.56 kB / 0.5035 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3925, allocations: 0 / 0.5035 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3925, allocations: 5.469 kB / 0.5035 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3925, allocations: 6.375 kB / 0.5035 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3925, allocations: 0 / 0.5035 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.3937, allocations: 427.8 kB / 0.5039 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.3938, allocations: 28.25 kB / 0.504 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.3938, allocations: 14.38 kB / 0.504 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.3943, allocations: 34.5 kB / 0.504 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.3943, allocations: 17.31 kB / 0.504 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.3943, allocations: 7.062 kB / 0.504 GB, free: 25.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.3944, allocations: 110.1 kB / 0.5041 GB, free: 25.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3944, allocations: 0 / 0.5041 GB, free: 25.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.395, allocations: 170.1 kB / 0.5043 GB, free: 25.86 MB / 446.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.0005641/0.3956, allocations: 262 kB / 0.5045 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3969, allocations: 354.8 kB / 0.5049 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3969, allocations: 7.094 kB / 0.5049 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.3975, allocations: 146.5 kB / 0.505 GB, free: 25.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3979, allocations: 13.81 kB / 0.505 GB, free: 25.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.4004, allocations: 0.5134 MB / 0.5055 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.74e-05/0.4005, allocations: 80.33 kB / 0.5056 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.4006, allocations: 39.14 kB / 0.5057 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4008, allocations: 26.27 kB / 0.5057 GB, free: 25.22 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4008, allocations: 0 / 0.5057 GB, free: 25.22 MB / 446.1 MB Notification: Performance of Templates: time 0.01976/0.4206, allocations: 8.941 MB / 0.5144 GB, free: 24.48 MB / 446.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","/var/lib/jenkins1/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: 5.3600305039435625]