Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001129, 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.001246/0.001246, 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.365/1.365, 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.214/0.214, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.89 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.36, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004206/0.3643, allocations: 2.128 MB / 0.5326 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3664, allocations: 1.417 MB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3665, allocations: 1.375 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.3669, allocations: 90.75 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.3671, allocations: 63.69 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.3677, allocations: 209.3 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.3679, allocations: 150.1 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.368, allocations: 16.55 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.3682, allocations: 63.11 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.797e-05/0.3683, allocations: 62.95 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3683, allocations: 8.062 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.3689, allocations: 435.4 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.369, allocations: 21.17 kB / 0.5351 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.041e-05/0.3691, allocations: 71.3 kB / 0.5351 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.3697, allocations: 443.2 kB / 0.5356 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3697, allocations: 0 / 0.5356 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3697, allocations: 1.094 kB / 0.5356 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.3697, allocations: 0 / 0.5356 GB, free: 9.512 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000669/0.3704, allocations: 0.4929 MB / 0.536 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3704, allocations: 8.969 kB / 0.5361 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.3705, allocations: 57.58 kB / 0.5361 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.3706, allocations: 19.09 kB / 0.5361 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3708, allocations: 212.7 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3708, allocations: 16.22 kB / 0.5363 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.3709, allocations: 22.97 kB / 0.5364 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.3712, allocations: 197.4 kB / 0.5366 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3713, allocations: 3.938 kB / 0.5366 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.3713, allocations: 10.47 kB / 0.5366 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3713, allocations: 3.719 kB / 0.5366 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.3716, allocations: 146.6 kB / 0.5367 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.3725, allocations: 0.5811 MB / 0.5373 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3727, allocations: 58.55 kB / 0.5373 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3728, allocations: 34.08 kB / 0.5374 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3728, allocations: 1.031 kB / 0.5374 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3729, allocations: 35.94 kB / 0.5374 GB, free: 7.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.3729, allocations: 0 / 0.5374 GB, free: 7.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004516/0.3733, allocations: 135.4 kB / 0.5375 GB, free: 7.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3734, allocations: 51.41 kB / 0.5376 GB, free: 7.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.3736, allocations: 263.5 kB / 0.5378 GB, free: 7.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3737, allocations: 29.69 kB / 0.5379 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3738, allocations: 171.5 kB / 0.538 GB, free: 7.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.3738, allocations: 11.16 kB / 0.538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.3739, allocations: 44.61 kB / 0.5381 GB, free: 7.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.374, allocations: 336.2 kB / 0.5384 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3741, allocations: 37.44 kB / 0.5384 GB, free: 7.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.3743, allocations: 122.4 kB / 0.5386 GB, free: 6.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.3747, allocations: 195.3 kB / 0.5387 GB, free: 6.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3747, allocations: 0.875 kB / 0.5387 GB, free: 6.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003843/0.3751, allocations: 199.3 kB / 0.5389 GB, free: 6.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3751, allocations: 6.531 kB / 0.5389 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.3751, allocations: 11.16 kB / 0.5389 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3751, allocations: 4.344 kB / 0.5389 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3753, allocations: 38.81 kB / 0.539 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3753, allocations: 9.625 kB / 0.539 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3754, allocations: 30.44 kB / 0.539 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.3755, allocations: 18.7 kB / 0.539 GB, free: 6.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.3756, allocations: 129.9 kB / 0.5392 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.3756, allocations: 15.91 kB / 0.5392 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.376, allocations: 139.8 kB / 0.5393 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.376, allocations: 1.516 kB / 0.5393 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.376, allocations: 3.984 kB / 0.5393 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.376, allocations: 1.594 kB / 0.5393 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.3763, allocations: 223.9 kB / 0.5395 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.3763, allocations: 8.688 kB / 0.5395 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.3763, allocations: 8.266 kB / 0.5396 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3763, allocations: 0.7812 kB / 0.5396 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3764, allocations: 6.219 kB / 0.5396 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3764, allocations: 1.094 kB / 0.5396 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3764, allocations: 3.938 kB / 0.5396 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3767, allocations: 208.1 kB / 0.5398 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.3767, allocations: 93.3 kB / 0.5399 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3768, allocations: 9.312 kB / 0.5399 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.3769, allocations: 10.77 kB / 0.5399 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.3769, allocations: 4.594 kB / 0.5399 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3769, allocations: 1.875 kB / 0.5399 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.3771, allocations: 183.7 kB / 0.5401 GB, free: 5.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3771, allocations: 0 / 0.5401 GB, free: 5.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.3775, allocations: 77.84 kB / 0.5401 GB, free: 5.609 MB / 398.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008655/0.3784, allocations: 0.8037 MB / 0.5409 GB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005095/0.3789, allocations: 171.3 kB / 0.5411 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3789, allocations: 4 kB / 0.5411 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.3791, allocations: 98.22 kB / 0.5412 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3795, allocations: 25.75 kB / 0.5412 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.3823, allocations: 2.378 MB / 0.5435 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.3826, allocations: 0.7311 MB / 0.5442 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.3826, allocations: 17.2 kB / 0.5442 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.3827, allocations: 58.89 kB / 0.5443 GB, free: 1.953 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3827, allocations: 0 / 0.5443 GB, free: 1.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.4095, allocations: 6.94 MB / 0.5511 GB, free: 12.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 4.438 kB / 0.5511 GB, free: 12.26 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches