Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3371, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003098/0.3402, allocations: 1.89 MB / 0.5325 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3416, allocations: 0.8452 MB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.3416, allocations: 1.375 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.3419, allocations: 53.41 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3421, allocations: 89.44 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3424, allocations: 82.14 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.3427, allocations: 262.7 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.3427, allocations: 30.83 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.3429, allocations: 107.9 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3431, allocations: 118.8 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.3431, allocations: 6.562 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.3434, allocations: 120.9 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.3435, allocations: 65.27 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3436, allocations: 104.6 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.344, allocations: 305.8 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.344, allocations: 1.375 kB / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.344, allocations: 0 / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.344, allocations: 0 / 0.5346 GB, free: 10.43 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007552/0.3448, allocations: 0.5572 MB / 0.5351 GB, free: 9.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.3448, allocations: 9.625 kB / 0.5351 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.843e-05/0.3449, allocations: 71.09 kB / 0.5352 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.3449, allocations: 29.12 kB / 0.5352 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3452, allocations: 243.2 kB / 0.5354 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3452, allocations: 22.5 kB / 0.5355 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.3452, allocations: 27.47 kB / 0.5355 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.3458, allocations: 379.3 kB / 0.5359 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3459, allocations: 1.094 kB / 0.5359 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3459, allocations: 10.16 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.3459, allocations: 28.33 kB / 0.5359 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.3466, allocations: 376 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3478, allocations: 0.8437 MB / 0.5371 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.3483, allocations: 256.5 kB / 0.5373 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.3485, allocations: 106.2 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3485, allocations: 10.28 kB / 0.5374 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3486, allocations: 32.81 kB / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3486, allocations: 0 / 0.5375 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007234/0.3493, allocations: 334 kB / 0.5378 GB, free: 8.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3494, allocations: 60.48 kB / 0.5378 GB, free: 8.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.3497, allocations: 340 kB / 0.5382 GB, free: 7.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3497, allocations: 29.7 kB / 0.5382 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3499, allocations: 167.8 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.3499, allocations: 58.67 kB / 0.5384 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/0.35, allocations: 59.52 kB / 0.5385 GB, free: 7.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3502, allocations: 338.1 kB / 0.5388 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3504, allocations: 98.95 kB / 0.5389 GB, free: 7.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.3507, allocations: 192.3 kB / 0.5391 GB, free: 7.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.3512, allocations: 308 kB / 0.5394 GB, free: 6.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3512, allocations: 0 / 0.5394 GB, free: 6.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006332/0.3519, allocations: 354.8 kB / 0.5397 GB, free: 6.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3519, allocations: 6.531 kB / 0.5397 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3519, allocations: 3.25 kB / 0.5397 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3519, allocations: 4.219 kB / 0.5397 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.3525, allocations: 123.9 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.3547, allocations: 3.65 MB / 0.5434 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.355, allocations: 40.97 kB / 0.5434 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.355, allocations: 11.75 kB / 0.5434 GB, free: 2.988 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002791/0.3553, allocations: 191.4 kB / 0.5436 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.3554, allocations: 27.91 kB / 0.5437 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006902/0.356, allocations: 324.3 kB / 0.544 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3561, allocations: 2.312 kB / 0.544 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3561, allocations: 0 / 0.544 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3561, allocations: 9.281 kB / 0.544 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.3565, allocations: 296.2 kB / 0.5443 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3565, allocations: 1.5 kB / 0.5443 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.3569, allocations: 111.9 kB / 0.5444 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3569, allocations: 0.9062 kB / 0.5444 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.357, allocations: 7.469 kB / 0.5444 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.3592, allocations: 3.658 MB / 0.5479 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3593, allocations: 0 / 0.5479 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.3598, allocations: 351 kB / 0.5483 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3599, allocations: 111.4 kB / 0.5484 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.36, allocations: 5.031 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3601, allocations: 7.531 kB / 0.5484 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.3602, allocations: 19.91 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3602, allocations: 5.062 kB / 0.5484 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.3605, allocations: 245.4 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.043e-06/0.3605, allocations: 1.156 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.3609, allocations: 74.62 kB / 0.5487 GB, free: 14.14 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.3619, allocations: 0.9165 MB / 0.5496 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008876/0.3628, allocations: 327.4 kB / 0.5499 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3628, allocations: 0 / 0.5499 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.3634, allocations: 183.8 kB / 0.5501 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3638, allocations: 80.69 kB / 0.5502 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.368, allocations: 3.365 MB / 0.5535 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.3684, allocations: 0.7911 MB / 0.5542 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.3686, allocations: 82.88 kB / 0.5543 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3687, allocations: 75.41 kB / 0.5544 GB, free: 8.469 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3687, allocations: 7.875 kB / 0.5544 GB, free: 8.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1768/0.5455, allocations: 8.638 MB / 0.5628 GB, free: 84 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.7, allocations: 18.58 kB / 0.5629 GB, free: 72 kB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches