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.001817/0.001817, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.333, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003855/0.3369, allocations: 1.877 MB / 0.5324 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3385, allocations: 0.846 MB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3386, allocations: 1.969 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.339, allocations: 56.23 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.3394, allocations: 81.47 kB / 0.5333 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.3398, allocations: 79.34 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.3402, allocations: 263.2 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.639e-05/0.3403, allocations: 26.27 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3406, allocations: 111.6 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.3408, allocations: 115.5 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.3408, allocations: 5.5 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.3411, allocations: 121.6 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3412, allocations: 73.66 kB / 0.5341 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3414, allocations: 100.4 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.3418, allocations: 308.8 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3419, allocations: 0 / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3419, allocations: 5.312 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3419, allocations: 4 kB / 0.5345 GB, free: 10.46 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.0009504/0.3428, allocations: 0.5465 MB / 0.535 GB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3429, allocations: 9.281 kB / 0.535 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.343, allocations: 62.02 kB / 0.5351 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.343, allocations: 29.19 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.3434, allocations: 240.6 kB / 0.5354 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.3434, allocations: 18.72 kB / 0.5354 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.3435, allocations: 27.66 kB / 0.5354 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.3441, allocations: 379.6 kB / 0.5358 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3441, allocations: 5.188 kB / 0.5358 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.3442, allocations: 10.19 kB / 0.5358 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.3442, allocations: 23.77 kB / 0.5358 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.3448, allocations: 376.3 kB / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.3464, allocations: 0.8469 MB / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.347, allocations: 256.7 kB / 0.5372 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.3473, allocations: 102.2 kB / 0.5373 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.3474, allocations: 6.484 kB / 0.5373 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3474, allocations: 35.91 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.3474, allocations: 5.531 kB / 0.5374 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009037/0.3483, allocations: 334.6 kB / 0.5377 GB, free: 8.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3484, allocations: 52.66 kB / 0.5377 GB, free: 8.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.3489, allocations: 335.3 kB / 0.5381 GB, free: 7.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.3489, allocations: 30.67 kB / 0.5381 GB, free: 7.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.349, allocations: 167 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.3491, allocations: 62.44 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3492, allocations: 67.2 kB / 0.5384 GB, free: 7.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3494, allocations: 334.7 kB / 0.5387 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.3497, allocations: 98.67 kB / 0.5388 GB, free: 7.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.35, allocations: 191.9 kB / 0.539 GB, free: 7.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.3506, allocations: 308.1 kB / 0.5393 GB, free: 6.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3507, allocations: 0 / 0.5393 GB, free: 6.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000669/0.3513, allocations: 343 kB / 0.5396 GB, free: 6.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3514, allocations: 11.3 kB / 0.5396 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3514, allocations: 6.094 kB / 0.5396 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.3514, allocations: 4.344 kB / 0.5396 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005532/0.352, allocations: 119.4 kB / 0.5397 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.3542, allocations: 3.646 MB / 0.5433 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.3544, allocations: 44.89 kB / 0.5433 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3545, allocations: 15.12 kB / 0.5433 GB, free: 3.047 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.000322/0.3548, allocations: 177.6 kB / 0.5435 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.3549, allocations: 27.41 kB / 0.5435 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/0.3556, allocations: 332.8 kB / 0.5439 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3557, allocations: 1.219 kB / 0.5439 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3557, allocations: 1.25 kB / 0.5439 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3557, allocations: 3.938 kB / 0.5439 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.3561, allocations: 301.9 kB / 0.5442 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3561, allocations: 0 / 0.5442 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.3566, allocations: 108.2 kB / 0.5443 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3566, allocations: 5.062 kB / 0.5443 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.3567, allocations: 7.375 kB / 0.5443 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.3587, allocations: 3.65 MB / 0.5478 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3587, allocations: 1.406 kB / 0.5478 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.3592, allocations: 349.9 kB / 0.5482 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3594, allocations: 106.1 kB / 0.5483 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.3594, allocations: 9.188 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3596, allocations: 7.875 kB / 0.5483 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.3597, allocations: 27.53 kB / 0.5483 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3597, allocations: 4.375 kB / 0.5483 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002527/0.36, allocations: 246.5 kB / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.36, allocations: 0 / 0.5486 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.3604, allocations: 75.78 kB / 0.5486 GB, free: 14.2 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.0009968/0.3614, allocations: 0.9007 MB / 0.5495 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009324/0.3624, allocations: 328.5 kB / 0.5498 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3624, allocations: 0 / 0.5498 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.3629, allocations: 190.3 kB / 0.55 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.3634, allocations: 65.47 kB / 0.5501 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.3677, allocations: 3.378 MB / 0.5534 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.368, allocations: 0.7912 MB / 0.5541 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.3682, allocations: 78.89 kB / 0.5542 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3684, allocations: 75.41 kB / 0.5543 GB, free: 8.566 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3684, allocations: 3.938 kB / 0.5543 GB, free: 8.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3969, allocations: 8.807 MB / 0.5629 GB, free: 20 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 9.625 kB / 0.5629 GB, free: 12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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