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.001571/0.001572, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 75.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3206, allocations: 62.45 MB / 0.5306 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003451/0.324, allocations: 1.888 MB / 0.5325 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3257, allocations: 0.8414 MB / 0.5333 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.716e-05/0.3258, allocations: 1.781 kB / 0.5333 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3261, allocations: 57.31 kB / 0.5334 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.3264, allocations: 85 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3267, allocations: 82.55 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.327, allocations: 267.6 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.3271, allocations: 34.25 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.3274, allocations: 107.6 kB / 0.5339 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3276, allocations: 119.5 kB / 0.534 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.3276, allocations: 5.5 kB / 0.534 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.3279, allocations: 121.6 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.36e-05/0.328, allocations: 61.69 kB / 0.5342 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3281, allocations: 104.2 kB / 0.5343 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.3285, allocations: 306.6 kB / 0.5346 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3285, allocations: 3.938 kB / 0.5346 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3285, allocations: 5.469 kB / 0.5346 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3286, allocations: 0 / 0.5346 GB, free: 10.62 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.0008953/0.3295, allocations: 0.5536 MB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3295, allocations: 8.875 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.202e-05/0.3296, allocations: 66.62 kB / 0.5352 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.3297, allocations: 29.28 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3299, allocations: 242.6 kB / 0.5355 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.33, allocations: 23.42 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.33, allocations: 31.78 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.3307, allocations: 375.9 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3307, allocations: 0 / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.3307, allocations: 14.42 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.3308, allocations: 23.11 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.3315, allocations: 373.2 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.333, allocations: 0.8471 MB / 0.5371 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.3335, allocations: 257.3 kB / 0.5374 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.3338, allocations: 102.8 kB / 0.5375 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.3338, allocations: 1.5 kB / 0.5375 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3338, allocations: 36.06 kB / 0.5375 GB, free: 8.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3338, allocations: 0 / 0.5375 GB, free: 8.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008057/0.3347, allocations: 337.4 kB / 0.5378 GB, free: 8.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3347, allocations: 54.16 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.3351, allocations: 342.5 kB / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.3352, allocations: 30.83 kB / 0.5382 GB, free: 8.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3353, allocations: 175.2 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.3354, allocations: 58.3 kB / 0.5384 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3355, allocations: 59.2 kB / 0.5385 GB, free: 7.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3357, allocations: 339.1 kB / 0.5388 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3359, allocations: 98.48 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.3362, allocations: 193 kB / 0.5391 GB, free: 7.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.3367, allocations: 300.7 kB / 0.5394 GB, free: 7.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3367, allocations: 3.938 kB / 0.5394 GB, free: 7.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006672/0.3374, allocations: 350.6 kB / 0.5397 GB, free: 6.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3374, allocations: 6.875 kB / 0.5397 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3374, allocations: 3.5 kB / 0.5397 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3375, allocations: 3.5 kB / 0.5397 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.338, allocations: 124.6 kB / 0.5399 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.3404, allocations: 3.653 MB / 0.5434 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.3407, allocations: 41.62 kB / 0.5435 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.3408, allocations: 11.09 kB / 0.5435 GB, free: 3.188 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.0002869/0.341, allocations: 188.3 kB / 0.5437 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.3411, allocations: 28.12 kB / 0.5437 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.3418, allocations: 335.2 kB / 0.544 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3419, allocations: 2.062 kB / 0.544 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3419, allocations: 3.938 kB / 0.544 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3419, allocations: 0 / 0.544 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.3423, allocations: 301.2 kB / 0.5443 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3423, allocations: 1.188 kB / 0.5443 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.3428, allocations: 112.9 kB / 0.5444 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3428, allocations: 3.938 kB / 0.5444 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3428, allocations: 8.062 kB / 0.5444 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.3451, allocations: 3.65 MB / 0.548 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3452, allocations: 3.984 kB / 0.548 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008467/0.346, allocations: 343.9 kB / 0.5483 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.3463, allocations: 110.7 kB / 0.5484 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.3463, allocations: 5.031 kB / 0.5484 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.3466, allocations: 12.5 kB / 0.5484 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/0.3467, allocations: 15.47 kB / 0.5485 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.3468, allocations: 13.19 kB / 0.5485 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.3471, allocations: 246.1 kB / 0.5487 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3471, allocations: 0 / 0.5487 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.3475, allocations: 71.56 kB / 0.5488 GB, free: 14.33 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.001185/0.3487, allocations: 0.9167 MB / 0.5497 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3498, allocations: 326.8 kB / 0.55 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3498, allocations: 0 / 0.55 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.3504, allocations: 184.5 kB / 0.5501 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3508, allocations: 80.7 kB / 0.5502 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.3555, allocations: 3.361 MB / 0.5535 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.356, allocations: 0.7872 MB / 0.5543 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.3562, allocations: 82.88 kB / 0.5544 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3564, allocations: 75.34 kB / 0.5544 GB, free: 8.586 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3564, allocations: 8 kB / 0.5544 GB, free: 8.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.3919, allocations: 8.647 MB / 0.5629 GB, free: 196 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.34, allocations: 9.062 kB / 0.5629 GB, free: 188 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