Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 105.7 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2057/0.2057, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 72.45 kB / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1075, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002985/0.1105, allocations: 1.945 MB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1123, allocations: 1.181 MB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1124, allocations: 4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1127, allocations: 67.59 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.113, allocations: 99.47 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.1134, allocations: 155.4 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.1139, allocations: 473.5 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.114, allocations: 68.92 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1142, allocations: 155.2 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1144, allocations: 195 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1145, allocations: 15.98 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.1149, allocations: 275.5 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.115, allocations: 95.53 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.1152, allocations: 186.6 kB / 0.4922 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.1158, allocations: 0.5565 MB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1159, allocations: 4 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1159, allocations: 0 / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1159, allocations: 0 / 0.4927 GB, free: 6.777 MB / 382.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.0009681/0.1168, allocations: 0.7296 MB / 0.4934 GB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1169, allocations: 12.03 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.117, allocations: 98.69 kB / 0.4936 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.394e-05/0.1171, allocations: 48.38 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.1175, allocations: 287.7 kB / 0.4939 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.1176, allocations: 41.67 kB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.1176, allocations: 55.88 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008853/0.1185, allocations: 0.6349 MB / 0.4946 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1186, allocations: 0 / 0.4946 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.1186, allocations: 23.98 kB / 0.4946 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/0.1187, allocations: 37.3 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.1195, allocations: 0.5008 MB / 0.4951 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.1219, allocations: 1.414 MB / 0.4965 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.1226, allocations: 445.9 kB / 0.4969 GB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1228, allocations: 140.8 kB / 0.4971 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.1229, allocations: 23.89 kB / 0.4971 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1229, allocations: 30.56 kB / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.1229, allocations: 0 / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.000912/0.1238, allocations: 0.4968 MB / 0.4976 GB, free: 1.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1239, allocations: 55.41 kB / 0.4977 GB, free: 1.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.1245, allocations: 0.5524 MB / 0.4982 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1246, allocations: 29.7 kB / 0.4982 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1248, allocations: 220.1 kB / 0.4984 GB, free: 0.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.1249, allocations: 90.73 kB / 0.4985 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.125, allocations: 93.95 kB / 0.4986 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1252, allocations: 354.7 kB / 0.499 GB, free: 164 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.1255, allocations: 160.1 kB / 0.4991 GB, free: 4 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.1259, allocations: 260.7 kB / 0.4994 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/0.1296, allocations: 1.053 MB / 0.5004 GB, free: 14.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1296, allocations: 0 / 0.5004 GB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009343/0.1306, allocations: 0.5005 MB / 0.5009 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.1306, allocations: 10.66 kB / 0.5009 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.307e-05/0.1307, allocations: 43.98 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1307, allocations: 8 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1309, allocations: 35.92 kB / 0.501 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.131, allocations: 7.984 kB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.1313, allocations: 55.28 kB / 0.501 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.1313, allocations: 24.34 kB / 0.5011 GB, free: 13.93 MB / 398.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.0004048/0.1317, allocations: 233.5 kB / 0.5013 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.1318, allocations: 39.53 kB / 0.5013 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1329, allocations: 0.5362 MB / 0.5018 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.1329, allocations: 8 kB / 0.5018 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1329, allocations: 0 / 0.5018 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1329, allocations: 0 / 0.5018 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006612/0.1336, allocations: 437.1 kB / 0.5023 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.575e-05/0.1336, allocations: 36 kB / 0.5023 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1338, allocations: 31.92 kB / 0.5023 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1338, allocations: 0 / 0.5023 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.1339, allocations: 15.98 kB / 0.5023 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1339, allocations: 0 / 0.5023 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1339, allocations: 0 / 0.5023 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.135, allocations: 0.7144 MB / 0.503 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1352, allocations: 124.5 kB / 0.5032 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.1352, allocations: 12.06 kB / 0.5032 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1354, allocations: 8 kB / 0.5032 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1355, allocations: 23.97 kB / 0.5032 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.1355, allocations: 16 kB / 0.5032 GB, free: 11.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004251/0.136, allocations: 407 kB / 0.5036 GB, free: 11.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.136, allocations: 0 / 0.5036 GB, free: 11.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.1365, allocations: 143.9 kB / 0.5037 GB, free: 11.08 MB / 398.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.001548/0.138, allocations: 1.313 MB / 0.505 GB, free: 9.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008639/0.1389, allocations: 0.6874 MB / 0.5057 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1389, allocations: 0 / 0.5057 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.1394, allocations: 488.2 kB / 0.5062 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.14, allocations: 94.61 kB / 0.5063 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.1468, allocations: 5.305 MB / 0.5114 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.1473, allocations: 0.8819 MB / 0.5123 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.1476, allocations: 116.2 kB / 0.5124 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.1478, allocations: 135.4 kB / 0.5125 GB, free: 1.707 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1478, allocations: 0 / 0.5125 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05381/0.2016, allocations: 13.02 MB / 0.5252 GB, free: 4.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.516, allocations: 8.109 kB / 0.5253 GB, free: 4.68 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches