Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 75.86 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.358, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003252/0.3613, allocations: 2.115 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.3638, allocations: 1.721 MB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.3639, allocations: 0 / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.3642, allocations: 84.19 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.3644, allocations: 59.67 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.3652, allocations: 357.9 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.3654, allocations: 154.1 kB / 0.5349 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.3655, allocations: 32.53 kB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.3655, allocations: 44.41 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3657, allocations: 66.58 kB / 0.535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3657, allocations: 7.562 kB / 0.535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.3668, allocations: 0.786 MB / 0.5358 GB, free: 9.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.3669, allocations: 27.94 kB / 0.5358 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.367, allocations: 69.16 kB / 0.5359 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.3677, allocations: 0.593 MB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3677, allocations: 0 / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3677, allocations: 4 kB / 0.5365 GB, free: 8.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.3677, allocations: 1.156 kB / 0.5365 GB, free: 8.875 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006762/0.3684, allocations: 0.5035 MB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3685, allocations: 9.906 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.3685, allocations: 57.38 kB / 0.537 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.3686, allocations: 23.38 kB / 0.5371 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3688, allocations: 214.8 kB / 0.5373 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3688, allocations: 11.91 kB / 0.5373 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.3689, allocations: 21.31 kB / 0.5373 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.3693, allocations: 261.5 kB / 0.5376 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3693, allocations: 1.156 kB / 0.5376 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.3694, allocations: 6.812 kB / 0.5376 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3694, allocations: 9.219 kB / 0.5376 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.3697, allocations: 164.3 kB / 0.5377 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.3707, allocations: 0.9077 MB / 0.5386 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3709, allocations: 66.89 kB / 0.5387 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3711, allocations: 28.45 kB / 0.5387 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3711, allocations: 1.094 kB / 0.5387 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3711, allocations: 39.61 kB / 0.5387 GB, free: 6.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3711, allocations: 0 / 0.5387 GB, free: 6.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004517/0.3716, allocations: 139 kB / 0.5389 GB, free: 6.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3716, allocations: 52.81 kB / 0.5389 GB, free: 6.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3719, allocations: 266 kB / 0.5392 GB, free: 6.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3719, allocations: 25.7 kB / 0.5392 GB, free: 6.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.372, allocations: 180.7 kB / 0.5394 GB, free: 6.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.372, allocations: 18.91 kB / 0.5394 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.3721, allocations: 54.39 kB / 0.5394 GB, free: 6.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3723, allocations: 335.5 kB / 0.5398 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3724, allocations: 43.11 kB / 0.5398 GB, free: 5.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.3726, allocations: 198.6 kB / 0.54 GB, free: 5.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.3731, allocations: 254 kB / 0.5402 GB, free: 5.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3731, allocations: 1.156 kB / 0.5402 GB, free: 5.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004963/0.3736, allocations: 252 kB / 0.5405 GB, free: 5.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3736, allocations: 15.55 kB / 0.5405 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.3736, allocations: 13.28 kB / 0.5405 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3737, allocations: 14.75 kB / 0.5405 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.3738, allocations: 51.09 kB / 0.5406 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.3739, allocations: 14.19 kB / 0.5406 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.374, allocations: 42.12 kB / 0.5406 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.3741, allocations: 16.69 kB / 0.5406 GB, free: 5.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001109/0.3742, allocations: 137.7 kB / 0.5408 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.3742, allocations: 20.28 kB / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.3746, allocations: 140.2 kB / 0.5409 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3746, allocations: 5 kB / 0.5409 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3746, allocations: 0 / 0.5409 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3747, allocations: 4 kB / 0.5409 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.3749, allocations: 217.7 kB / 0.5411 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.3749, allocations: 8.75 kB / 0.5411 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.375, allocations: 12.55 kB / 0.5412 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.375, allocations: 1.125 kB / 0.5412 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.375, allocations: 2 kB / 0.5412 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.375, allocations: 3.938 kB / 0.5412 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.375, allocations: 1.344 kB / 0.5412 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3753, allocations: 207.2 kB / 0.5414 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.3754, allocations: 97.03 kB / 0.5415 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3754, allocations: 1.75 kB / 0.5415 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3755, allocations: 10.36 kB / 0.5415 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3756, allocations: 3.125 kB / 0.5415 GB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.3756, allocations: 2.75 kB / 0.5415 GB, free: 4.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.3758, allocations: 184.6 kB / 0.5417 GB, free: 4.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3758, allocations: 4 kB / 0.5417 GB, free: 4.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.3763, allocations: 108.2 kB / 0.5418 GB, free: 4.312 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.0009166/0.3772, allocations: 0.8419 MB / 0.5426 GB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000491/0.3777, allocations: 187.7 kB / 0.5428 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3777, allocations: 0 / 0.5428 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.378, allocations: 106.9 kB / 0.5429 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3783, allocations: 33.47 kB / 0.5429 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.3812, allocations: 2.504 MB / 0.5453 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3816, allocations: 0.7322 MB / 0.5461 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.721e-05/0.3816, allocations: 29.84 kB / 0.5461 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.3817, allocations: 60.48 kB / 0.5461 GB, free: 456 kB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3817, allocations: 0 / 0.5461 GB, free: 456 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.4099, allocations: 9.131 MB / 0.5551 GB, free: 8.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 2.938 kB / 0.5551 GB, free: 8.086 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches