Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json 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/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/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 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3498, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003102/0.3529, allocations: 2.111 MB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3543, allocations: 0.871 MB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.3544, allocations: 2.188 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.3547, allocations: 65.23 kB / 0.5214 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.3552, allocations: 143.3 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.3556, allocations: 99.97 kB / 0.5217 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.3562, allocations: 458.8 kB / 0.5221 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.3563, allocations: 49.64 kB / 0.5222 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.3566, allocations: 174.9 kB / 0.5223 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.3569, allocations: 210.2 kB / 0.5225 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.357, allocations: 11.69 kB / 0.5225 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.3574, allocations: 265.5 kB / 0.5228 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3576, allocations: 106.4 kB / 0.5229 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.3577, allocations: 183.5 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006889/0.3584, allocations: 0.5316 MB / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3584, allocations: 0.5625 kB / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3585, allocations: 0 / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3585, allocations: 0 / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001059/0.3595, allocations: 0.7278 MB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3596, allocations: 13.47 kB / 0.5243 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.3597, allocations: 103.9 kB / 0.5244 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.3598, allocations: 50.17 kB / 0.5245 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.3602, allocations: 300.1 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.3602, allocations: 35.55 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.3603, allocations: 43.75 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.3613, allocations: 0.6602 MB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3613, allocations: 0 / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.3614, allocations: 14.88 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.3614, allocations: 53.16 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.3626, allocations: 0.6972 MB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.3647, allocations: 1.355 MB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.3654, allocations: 454.1 kB / 0.528 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.3657, allocations: 163.7 kB / 0.5281 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.3658, allocations: 17.48 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3658, allocations: 31.89 kB / 0.5282 GB, free: 13.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.3658, allocations: 0 / 0.5282 GB, free: 13.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001118/0.367, allocations: 0.53 MB / 0.5287 GB, free: 13.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.367, allocations: 62.58 kB / 0.5287 GB, free: 13.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.3675, allocations: 0.4918 MB / 0.5292 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3676, allocations: 30.8 kB / 0.5293 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3677, allocations: 212.1 kB / 0.5295 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/0.3678, allocations: 108 kB / 0.5296 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.368, allocations: 88.22 kB / 0.5296 GB, free: 12.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3681, allocations: 358.7 kB / 0.53 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.3685, allocations: 153 kB / 0.5301 GB, free: 12.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3689, allocations: 245.8 kB / 0.5304 GB, free: 12.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.3696, allocations: 438.5 kB / 0.5308 GB, free: 11.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3697, allocations: 1.531 kB / 0.5308 GB, free: 11.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000878/0.3705, allocations: 492.7 kB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3706, allocations: 10.77 kB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3706, allocations: 2.438 kB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3706, allocations: 4.938 kB / 0.5313 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/0.3715, allocations: 210.6 kB / 0.5315 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/0.3755, allocations: 7.295 MB / 0.5386 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.3761, allocations: 65.67 kB / 0.5387 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.3762, allocations: 23.2 kB / 0.5387 GB, free: 4.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004365/0.3766, allocations: 223.1 kB / 0.5389 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3767, allocations: 46.38 kB / 0.5389 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.3779, allocations: 0.5264 MB / 0.5395 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3779, allocations: 6.391 kB / 0.5395 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.378, allocations: 1.156 kB / 0.5395 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.378, allocations: 3.938 kB / 0.5395 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.3787, allocations: 417.5 kB / 0.5399 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3787, allocations: 1.344 kB / 0.5399 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.3795, allocations: 193.9 kB / 0.54 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.3796, allocations: 1.281 kB / 0.54 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.3796, allocations: 17.02 kB / 0.5401 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.3837, allocations: 7.295 MB / 0.5472 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.3837, allocations: 3.938 kB / 0.5472 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.3846, allocations: 0.5017 MB / 0.5477 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.3848, allocations: 122 kB / 0.5478 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.3848, allocations: 5.656 kB / 0.5478 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3851, allocations: 12.52 kB / 0.5478 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3852, allocations: 40.2 kB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.3852, allocations: 16 kB / 0.5479 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005109/0.3858, allocations: 357.1 kB / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3858, allocations: 0 / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006539/0.3864, allocations: 126 kB / 0.5483 GB, free: 11.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.3878, allocations: 1.069 MB / 0.5494 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.3894, allocations: 0.5216 MB / 0.5499 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3894, allocations: 3.938 kB / 0.5499 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009715/0.3904, allocations: 338.3 kB / 0.5502 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.3909, allocations: 112.2 kB / 0.5503 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.3977, allocations: 4.899 MB / 0.5551 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.3982, allocations: 0.8816 MB / 0.556 GB, free: 4.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.3986, allocations: 140.1 kB / 0.5561 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.3988, allocations: 135.3 kB / 0.5562 GB, free: 4.25 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3988, allocations: 0 / 0.5562 GB, free: 4.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.435, allocations: 13.69 MB / 0.5696 GB, free: 6.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.27, allocations: 7.875 kB / 0.5696 GB, free: 6.871 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches