Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.001116/0.001116, allocations: 118.8 kB / 17.79 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 201.2 kB / 18.73 MB, free: 4.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 79.86 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3541, allocations: 62.43 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003787/0.358, allocations: 2.698 MB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3601, allocations: 1.471 MB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.3603, allocations: 1.375 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.3607, allocations: 116 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.3611, allocations: 139.3 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.3617, allocations: 257.5 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.362, allocations: 280.5 kB / 0.5354 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.3621, allocations: 32.27 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3622, allocations: 92.78 kB / 0.5355 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3624, allocations: 129.9 kB / 0.5356 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3624, allocations: 7.781 kB / 0.5356 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009689/0.3634, allocations: 0.6094 MB / 0.5362 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.3635, allocations: 39.59 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3636, allocations: 142.5 kB / 0.5364 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.3643, allocations: 0.5447 MB / 0.5369 GB, free: 8.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3644, allocations: 5.062 kB / 0.5369 GB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3644, allocations: 0 / 0.5369 GB, free: 8.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.3644, allocations: 0 / 0.5369 GB, free: 8.523 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008687/0.3653, allocations: 0.6295 MB / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3653, allocations: 9.844 kB / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.312e-05/0.3654, allocations: 74.78 kB / 0.5376 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.3655, allocations: 38.88 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.3657, allocations: 248.7 kB / 0.5379 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.3658, allocations: 28.94 kB / 0.5379 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.3658, allocations: 41.84 kB / 0.538 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.3665, allocations: 0.5777 MB / 0.5385 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3665, allocations: 6.812 kB / 0.5385 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.3666, allocations: 18.78 kB / 0.5386 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3666, allocations: 10.53 kB / 0.5386 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.3671, allocations: 335.4 kB / 0.5389 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.3698, allocations: 4.046 MB / 0.5428 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.3701, allocations: 90.75 kB / 0.5429 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3703, allocations: 37.55 kB / 0.543 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.3703, allocations: 5.109 kB / 0.543 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3704, allocations: 35.69 kB / 0.543 GB, free: 2.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3704, allocations: 0 / 0.543 GB, free: 2.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005558/0.3709, allocations: 170.4 kB / 0.5432 GB, free: 2.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.371, allocations: 53.62 kB / 0.5432 GB, free: 2.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.3715, allocations: 408.9 kB / 0.5436 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3715, allocations: 25.7 kB / 0.5436 GB, free: 2.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3717, allocations: 254.2 kB / 0.5439 GB, free: 2.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3717, allocations: 28.3 kB / 0.5439 GB, free: 2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.766e-05/0.3718, allocations: 74.2 kB / 0.544 GB, free: 1.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.372, allocations: 351.1 kB / 0.5443 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.3721, allocations: 54.98 kB / 0.5444 GB, free: 1.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.3725, allocations: 272.7 kB / 0.5446 GB, free: 1.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.373, allocations: 348.4 kB / 0.545 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.373, allocations: 2.344 kB / 0.545 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006428/0.3736, allocations: 352.8 kB / 0.5453 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3737, allocations: 7.938 kB / 0.5453 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3737, allocations: 8.031 kB / 0.5453 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.3737, allocations: 8.938 kB / 0.5453 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.3742, allocations: 115 kB / 0.5454 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007039/0.3749, allocations: 1.221 MB / 0.5466 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.3752, allocations: 68.33 kB / 0.5467 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3752, allocations: 22.44 kB / 0.5467 GB, free: 15.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.3754, allocations: 140.9 kB / 0.5468 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.3754, allocations: 39.69 kB / 0.5469 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.3759, allocations: 179.1 kB / 0.5471 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3759, allocations: 1.125 kB / 0.5471 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3759, allocations: 1.156 kB / 0.5471 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3759, allocations: 0 / 0.5471 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.3763, allocations: 279.4 kB / 0.5473 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3763, allocations: 0 / 0.5473 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.3766, allocations: 53.44 kB / 0.5474 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3766, allocations: 0 / 0.5474 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3766, allocations: 2.438 kB / 0.5474 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006879/0.3773, allocations: 1.207 MB / 0.5486 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3773, allocations: 1.031 kB / 0.5486 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.3777, allocations: 235.5 kB / 0.5488 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.3778, allocations: 109.3 kB / 0.5489 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3779, allocations: 8.938 kB / 0.5489 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.378, allocations: 11.45 kB / 0.5489 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3781, allocations: 4.375 kB / 0.5489 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3781, allocations: 7.297 kB / 0.5489 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002838/0.3784, allocations: 271.9 kB / 0.5492 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3784, allocations: 0 / 0.5492 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.379, allocations: 121.2 kB / 0.5493 GB, free: 13.16 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009652/0.3799, allocations: 0.8601 MB / 0.5501 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.3806, allocations: 201.2 kB / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3806, allocations: 448 / 0.5503 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.3809, allocations: 75.72 kB / 0.5504 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.3813, allocations: 43.69 kB / 0.5504 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.3854, allocations: 3.392 MB / 0.5537 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3858, allocations: 0.7678 MB / 0.5545 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.3859, allocations: 46.89 kB / 0.5545 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3861, allocations: 107.4 kB / 0.5546 GB, free: 7.855 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3861, allocations: 0 / 0.5546 GB, free: 7.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.4141, allocations: 10.25 MB / 0.5647 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 12.17 kB / 0.5647 GB, free: 13.83 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches