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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 107.8 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3726/0.3726, allocations: 44.13 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 59.92 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4263, allocations: 60.81 MB / 0.5064 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003491/0.4299, allocations: 1.502 MB / 0.5079 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.4321, allocations: 1.456 MB / 0.5093 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.4322, allocations: 0 / 0.5093 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.4324, allocations: 26.48 kB / 0.5093 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.4327, allocations: 36.05 kB / 0.5093 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.4331, allocations: 174.7 kB / 0.5095 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.4333, allocations: 53.61 kB / 0.5096 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.519e-05/0.4334, allocations: 8.047 kB / 0.5096 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.4334, allocations: 22.91 kB / 0.5096 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.4335, allocations: 23.98 kB / 0.5096 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.4335, allocations: 2.906 kB / 0.5096 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006252/0.4342, allocations: 334.1 kB / 0.5099 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.4342, allocations: 14.55 kB / 0.51 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.4343, allocations: 23.19 kB / 0.51 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.4347, allocations: 288.5 kB / 0.5103 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4347, allocations: 0 / 0.5103 GB, free: 36.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4347, allocations: 0 / 0.5103 GB, free: 36.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.4348, allocations: 0 / 0.5103 GB, free: 36.07 MB / 378.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.0005599/0.4353, allocations: 415.3 kB / 0.5106 GB, free: 35.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.4354, allocations: 11.06 kB / 0.5107 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.4354, allocations: 7.375 kB / 0.5107 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.4356, allocations: 170.8 kB / 0.5108 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4356, allocations: 384 / 0.5108 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.4356, allocations: 12.11 kB / 0.5108 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.4358, allocations: 72.66 kB / 0.5109 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4358, allocations: 2.875 kB / 0.5109 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.4358, allocations: 0 / 0.5109 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4358, allocations: 3.938 kB / 0.5109 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.4359, allocations: 57.36 kB / 0.511 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.4361, allocations: 189.9 kB / 0.5112 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.4362, allocations: 52.62 kB / 0.5112 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.4362, allocations: 48.27 kB / 0.5112 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.4363, allocations: 19.03 kB / 0.5113 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.4363, allocations: 34.5 kB / 0.5113 GB, free: 35.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.4363, allocations: 3.938 kB / 0.5113 GB, free: 35.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.01984/0.4562, allocations: 1.622 MB / 0.5129 GB, free: 34.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.4562, allocations: 55.34 kB / 0.5129 GB, free: 34.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4563, allocations: 134.2 kB / 0.5131 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4564, allocations: 25.7 kB / 0.5131 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.4564, allocations: 94.06 kB / 0.5132 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.4565, allocations: 44.64 kB / 0.5132 GB, free: 34.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4566, allocations: 41.7 kB / 0.5133 GB, free: 34.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.4567, allocations: 317.8 kB / 0.5136 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.4573, allocations: 202.6 kB / 0.5138 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.458, allocations: 204 kB / 0.514 GB, free: 33.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.4593, allocations: 385.9 kB / 0.5143 GB, free: 33.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4593, allocations: 0 / 0.5143 GB, free: 33.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001391/0.4607, allocations: 457.1 kB / 0.5148 GB, free: 33.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.4607, allocations: 7.125 kB / 0.5148 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4607, allocations: 80 / 0.5148 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4608, allocations: 0 / 0.5148 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/0.4613, allocations: 68.17 kB / 0.5148 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4613, allocations: 5.078 kB / 0.5148 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.4617, allocations: 46.41 kB / 0.5149 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.4618, allocations: 8.906 kB / 0.5149 GB, free: 33.54 MB / 378.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.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.0001111/0.4619, allocations: 120.9 kB / 0.515 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.4619, allocations: 7.25 kB / 0.515 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.4634, allocations: 364.5 kB / 0.5154 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4634, allocations: 1.531 kB / 0.5154 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4634, allocations: 4 kB / 0.5154 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4634, allocations: 0 / 0.5154 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.4662, allocations: 0.776 MB / 0.5161 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4662, allocations: 96 / 0.5161 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.4667, allocations: 76.39 kB / 0.5162 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4667, allocations: 0 / 0.5162 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.4667, allocations: 12.78 kB / 0.5162 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4668, allocations: 0 / 0.5162 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4668, allocations: 6.438 kB / 0.5162 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.4688, allocations: 1.127 MB / 0.5173 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.4689, allocations: 112.7 kB / 0.5174 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.469, allocations: 2.781 kB / 0.5174 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.4694, allocations: 35.88 kB / 0.5175 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4694, allocations: 17.97 kB / 0.5175 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.4695, allocations: 9.172 kB / 0.5175 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.397e-05/0.4695, allocations: 96.39 kB / 0.5176 GB, free: 31.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4696, allocations: 0 / 0.5176 GB, free: 31.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008711/0.4704, allocations: 172.5 kB / 0.5177 GB, free: 31.71 MB / 378.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.0006589/0.4711, allocations: 254.3 kB / 0.518 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.4723, allocations: 375.6 kB / 0.5183 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.4724, allocations: 3.062 kB / 0.5183 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.4729, allocations: 146.2 kB / 0.5185 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.4733, allocations: 19.42 kB / 0.5185 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.4758, allocations: 0.6579 MB / 0.5191 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.476, allocations: 0.6969 MB / 0.5198 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.4763, allocations: 40.67 kB / 0.5199 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.4764, allocations: 30.12 kB / 0.5199 GB, free: 30.3 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4764, allocations: 0 / 0.5199 GB, free: 30.3 MB / 378.7 MB Notification: Performance of Templates: time 0.0133/0.4898, allocations: 8.489 MB / 0.5282 GB, free: 29.79 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestPressureLossDerivatives/TestPressureLossDerivatives.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches