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.001435/0.001435, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2004/0.2004, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 77.09 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1065, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.00343/0.11, allocations: 2.168 MB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.1128, allocations: 1.819 MB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1129, allocations: 0 / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1133, allocations: 79.5 kB / 483.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.1135, allocations: 51.56 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.1143, allocations: 279 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1145, allocations: 163 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.1146, allocations: 24.3 kB / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.1147, allocations: 47.67 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1148, allocations: 67.58 kB / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1148, allocations: 0 / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.1161, allocations: 0.7879 MB / 484.9 MB, free: 108 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.1162, allocations: 31.8 kB / 484.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.1162, allocations: 71.48 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008278/0.1171, allocations: 0.5841 MB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1171, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1171, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1171, allocations: 0 / 485.6 MB, free: 15.42 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007528/0.1179, allocations: 0.5108 MB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1179, allocations: 8.031 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.118, allocations: 54.73 kB / 486.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.118, allocations: 20.66 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1183, allocations: 223.6 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1183, allocations: 20.44 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.1183, allocations: 16 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.1187, allocations: 263.5 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1187, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1188, allocations: 8 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1188, allocations: 8 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1191, allocations: 161.3 kB / 486.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/0.1201, allocations: 0.9041 MB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1203, allocations: 62.48 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1204, allocations: 36.88 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1205, allocations: 0 / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1205, allocations: 30.56 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1205, allocations: 4 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004511/0.121, allocations: 141.3 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.121, allocations: 51.41 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1213, allocations: 274.8 kB / 488.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1213, allocations: 29.64 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1214, allocations: 171.1 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1214, allocations: 27.73 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.1215, allocations: 49.61 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1216, allocations: 334.8 kB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1218, allocations: 40.19 kB / 489 MB, free: 11.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.122, allocations: 186.1 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.1224, allocations: 255.4 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1224, allocations: 4 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004787/0.1229, allocations: 261.4 kB / 489.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1229, allocations: 8 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/0.123, allocations: 16 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.123, allocations: 7.938 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1231, allocations: 51.91 kB / 489.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.1232, allocations: 11.94 kB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1233, allocations: 39.58 kB / 489.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1234, allocations: 16 kB / 489.8 MB, free: 10.77 MB / 366.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.0001145/0.1235, allocations: 133.8 kB / 489.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.1235, allocations: 23.72 kB / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.1239, allocations: 138.9 kB / 490.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1239, allocations: 3.938 kB / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1239, allocations: 4.125 kB / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1239, allocations: 0 / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1242, allocations: 229.5 kB / 490.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.1242, allocations: 11.98 kB / 490.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.1243, allocations: 4 kB / 490.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1243, allocations: 4.141 kB / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1243, allocations: 0 / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1243, allocations: 3.938 kB / 490.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1243, allocations: 7.922 kB / 490.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1246, allocations: 207.2 kB / 490.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1247, allocations: 92.92 kB / 490.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.1247, allocations: 3.984 kB / 490.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1248, allocations: 7.938 kB / 490.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1249, allocations: 11.98 kB / 490.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1249, allocations: 4 kB / 490.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1251, allocations: 178 kB / 490.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1251, allocations: 0 / 490.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.1256, allocations: 108 kB / 491 MB, free: 9.512 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 (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.0009729/0.1266, allocations: 0.833 MB / 491.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004574/0.1271, allocations: 196.5 kB / 492 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1271, allocations: 0 / 492 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.1273, allocations: 103.4 kB / 492.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.1277, allocations: 20.83 kB / 492.1 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.1307, allocations: 2.556 MB / 494.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.131, allocations: 0.7284 MB / 495.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.546e-05/0.1311, allocations: 29.88 kB / 495.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.1312, allocations: 63.42 kB / 495.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1312, allocations: 0 / 495.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9632/1.094, allocations: 8.628 MB / 0.4923 GB, free: 12.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/1.095, allocations: 286.1 kB / 0.4926 GB, free: 11.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/4.298, allocations: 0 / 0.4926 GB, free: 11.92 MB / 382.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