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.001108/0.001108, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1884/0.1884, allocations: 46.09 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 62.45 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003597/0.1144, allocations: 2.733 MB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1165, allocations: 1.574 MB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.701e-05/0.1166, allocations: 0 / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.1169, allocations: 103.4 kB / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1172, allocations: 115.1 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.1176, allocations: 203.4 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1178, allocations: 282 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.1179, allocations: 28.67 kB / 484.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.118, allocations: 95.41 kB / 484.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1181, allocations: 135.1 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1182, allocations: 4 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.119, allocations: 0.6007 MB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.1191, allocations: 39.7 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1192, allocations: 135 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.1197, allocations: 0.5449 MB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1198, allocations: 4 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1198, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1198, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.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.0006773/0.1205, allocations: 0.624 MB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1205, allocations: 8.031 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.847e-05/0.1206, allocations: 74.72 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.1206, allocations: 44.38 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1209, allocations: 239.8 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1209, allocations: 29.38 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.1209, allocations: 39.94 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1215, allocations: 0.5765 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1216, allocations: 7.938 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1216, allocations: 19.98 kB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1216, allocations: 12 kB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.1221, allocations: 333 kB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.1242, allocations: 4.051 MB / 492 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1245, allocations: 98.52 kB / 492.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1246, allocations: 32.97 kB / 492.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1246, allocations: 3.984 kB / 492.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1247, allocations: 34.56 kB / 492.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1247, allocations: 0 / 492.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004632/0.1251, allocations: 165.2 kB / 492.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1252, allocations: 51.41 kB / 492.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1255, allocations: 413.7 kB / 492.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1256, allocations: 25.7 kB / 492.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.1257, allocations: 254.9 kB / 493.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.1257, allocations: 31.64 kB / 493.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.1258, allocations: 77.86 kB / 493.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1259, allocations: 350.7 kB / 493.5 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1261, allocations: 56.61 kB / 493.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.1264, allocations: 258.4 kB / 493.8 MB, free: 6.547 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.1268, allocations: 355.9 kB / 494.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1268, allocations: 0 / 494.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005491/0.1274, allocations: 361 kB / 494.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1274, allocations: 8 kB / 494.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1274, allocations: 8 kB / 494.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1274, allocations: 8 kB / 494.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.1279, allocations: 111.8 kB / 494.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006221/0.1285, allocations: 1.219 MB / 495.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.1288, allocations: 67.28 kB / 496 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.1288, allocations: 16 kB / 496 MB, free: 4.258 MB / 366.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.0001287/0.1289, allocations: 149.7 kB / 496.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.129, allocations: 39.47 kB / 496.2 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.1294, allocations: 173 kB / 496.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1294, allocations: 0 / 496.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1294, allocations: 4 kB / 496.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1294, allocations: 0 / 496.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1297, allocations: 281.4 kB / 496.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1297, allocations: 0 / 496.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.13, allocations: 55.97 kB / 496.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.13, allocations: 0 / 496.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.13, allocations: 4 kB / 496.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/0.1306, allocations: 1.207 MB / 497.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1306, allocations: 0 / 497.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1309, allocations: 239.4 kB / 498.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.131, allocations: 108.6 kB / 498.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.131, allocations: 16.09 kB / 498.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.1312, allocations: 3.984 kB / 498.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1313, allocations: 4 kB / 498.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1313, allocations: 8 kB / 498.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1315, allocations: 275.1 kB / 498.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1315, allocations: 4 kB / 498.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.132, allocations: 112 kB / 498.6 MB, free: 1.453 MB / 366.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.0008195/0.1328, allocations: 0.8492 MB / 499.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.1333, allocations: 213.5 kB / 499.7 MB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1333, allocations: 7.875 kB / 499.7 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.1336, allocations: 75.94 kB / 499.8 MB, free: 296 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.134, allocations: 41.89 kB / 499.8 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.1375, allocations: 3.538 MB / 0.4915 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1378, allocations: 0.7678 MB / 0.4923 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.1379, allocations: 42.89 kB / 0.4923 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.138, allocations: 99.41 kB / 0.4924 GB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.138, allocations: 0 / 0.4924 GB, free: 11.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4974/0.6355, allocations: 9.639 MB / 0.5018 GB, free: 2.102 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.6357, allocations: 301.9 kB / 0.5021 GB, free: 1.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/3.776, allocations: 0 / 0.5021 GB, free: 1.711 MB / 382.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