Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009892/0.0009891, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 76.97 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003344/0.1064, allocations: 1.96 MB / 482.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1082, allocations: 1.168 MB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1084, allocations: 4 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1087, allocations: 67.58 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.109, allocations: 91.48 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.1095, allocations: 155.4 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.11, allocations: 489.7 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.1101, allocations: 53.02 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1103, allocations: 159.1 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.1105, allocations: 191 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1106, allocations: 15.88 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.1111, allocations: 275.6 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1112, allocations: 95.52 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.1114, allocations: 186.7 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.112, allocations: 0.5568 MB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.112, allocations: 0 / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.112, allocations: 0 / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.112, allocations: 0 / 485.6 MB, free: 15.69 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001085/0.1131, allocations: 0.7258 MB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1132, allocations: 8.031 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.1133, allocations: 102.7 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.94e-05/0.1134, allocations: 44.38 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1138, allocations: 295.6 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.1138, allocations: 37.62 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.1139, allocations: 63.86 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.1148, allocations: 0.6311 MB / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1148, allocations: 0 / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.1149, allocations: 20 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.1149, allocations: 33.3 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.1157, allocations: 0.5085 MB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.118, allocations: 1.418 MB / 489.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.1187, allocations: 434.1 kB / 489.9 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.1189, allocations: 140.8 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.544e-05/0.119, allocations: 15.92 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.119, allocations: 38.56 kB / 490.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.119, allocations: 0 / 490.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008706/0.1199, allocations: 0.4967 MB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1199, allocations: 59.39 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.1205, allocations: 0.5484 MB / 491.2 MB, free: 9.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1205, allocations: 33.7 kB / 491.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1207, allocations: 220.1 kB / 491.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.1207, allocations: 86.8 kB / 491.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.1209, allocations: 93.92 kB / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1211, allocations: 358.7 kB / 491.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1213, allocations: 160.1 kB / 492.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.1216, allocations: 252.8 kB / 492.3 MB, free: 8.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.1252, allocations: 1.053 MB / 493.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1252, allocations: 0 / 493.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007677/0.126, allocations: 0.5006 MB / 493.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.126, allocations: 8 kB / 493.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.957e-05/0.1261, allocations: 39.98 kB / 493.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1261, allocations: 15.98 kB / 494 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1263, allocations: 39.91 kB / 494 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.1263, allocations: 4 kB / 494 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1266, allocations: 59.31 kB / 494.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.1266, allocations: 20 kB / 494.1 MB, free: 6.859 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002698/0.1269, allocations: 229.9 kB / 494.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.127, allocations: 43.44 kB / 494.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008848/0.1279, allocations: 0.5403 MB / 494.9 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1279, allocations: 4 kB / 494.9 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1279, allocations: 8 kB / 494.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1279, allocations: 0 / 494.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.1285, allocations: 433.1 kB / 495.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.948e-05/0.1285, allocations: 39.98 kB / 495.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1287, allocations: 35.92 kB / 495.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1287, allocations: 0 / 495.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1287, allocations: 12 kB / 495.4 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1287, allocations: 0 / 495.4 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1287, allocations: 0 / 495.4 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009533/0.1297, allocations: 0.7101 MB / 496.1 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.1298, allocations: 120.6 kB / 496.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/0.1299, allocations: 8 kB / 496.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.1301, allocations: 7.984 kB / 496.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.1302, allocations: 23.98 kB / 496.3 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.1302, allocations: 16 kB / 496.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004133/0.1306, allocations: 407 kB / 496.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1306, allocations: 0 / 496.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000507/0.1311, allocations: 147.8 kB / 496.8 MB, free: 4.004 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001555/0.1327, allocations: 1.318 MB / 498.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.1338, allocations: 0.7226 MB / 498.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1339, allocations: 0 / 498.9 MB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.1342, allocations: 488.2 kB / 499.4 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.1347, allocations: 101.8 kB / 499.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/0.1417, allocations: 5.491 MB / 0.4931 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.1421, allocations: 0.878 MB / 0.494 GB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.1424, allocations: 120.2 kB / 0.4941 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.1426, allocations: 135.4 kB / 0.4942 GB, free: 10.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1426, allocations: 4 kB / 0.4942 GB, free: 10.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2035/0.3461, allocations: 12.67 MB / 0.5066 GB, free: 42.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.021, allocations: 15.09 kB / 0.5066 GB, free: 42.46 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches