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_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 110 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 222.8 kB / 23.01 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.222/0.222, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 76.36 kB / 467.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 61.03 MB / 0.5162 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003334/0.124, allocations: 1.938 MB / 0.5181 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.126, allocations: 1.134 MB / 0.5192 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1262, allocations: 0 / 0.5192 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.1265, allocations: 51.67 kB / 0.5192 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.1267, allocations: 75.59 kB / 0.5193 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.1273, allocations: 167.4 kB / 0.5194 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.1277, allocations: 223 kB / 0.5197 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.1278, allocations: 13.73 kB / 0.5197 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.128, allocations: 95.55 kB / 0.5198 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.1281, allocations: 107.5 kB / 0.5199 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1282, allocations: 8 kB / 0.5199 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.1286, allocations: 235.6 kB / 0.5201 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.1287, allocations: 59.81 kB / 0.5202 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1288, allocations: 95.33 kB / 0.5202 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.1292, allocations: 314.7 kB / 0.5205 GB, free: 2.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1293, allocations: 4 kB / 0.5206 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1293, allocations: 3.938 kB / 0.5206 GB, free: 2.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.1293, allocations: 0 / 0.5206 GB, free: 2.781 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001178/0.1304, allocations: 492.9 kB / 0.521 GB, free: 2.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1305, allocations: 8.031 kB / 0.521 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/0.1306, allocations: 62.72 kB / 0.5211 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.1306, allocations: 20.8 kB / 0.5211 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1309, allocations: 170.2 kB / 0.5213 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1309, allocations: 12.38 kB / 0.5213 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.131, allocations: 19.88 kB / 0.5213 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.1315, allocations: 292 kB / 0.5216 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1316, allocations: 0 / 0.5216 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1316, allocations: 4 kB / 0.5216 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.1316, allocations: 15.98 kB / 0.5216 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/0.1322, allocations: 219.8 kB / 0.5218 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1334, allocations: 0.7337 MB / 0.5225 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.1339, allocations: 227.7 kB / 0.5227 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.1342, allocations: 90.5 kB / 0.5228 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.1342, allocations: 0 / 0.5228 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.1343, allocations: 54.52 kB / 0.5229 GB, free: 224 kB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.1343, allocations: 0 / 0.5229 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009882/0.1353, allocations: 309.5 kB / 0.5232 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.1354, allocations: 106.8 kB / 0.5233 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1357, allocations: 281.8 kB / 0.5235 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1357, allocations: 25.7 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1359, allocations: 144 kB / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.1359, allocations: 47.62 kB / 0.5238 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.136, allocations: 45.7 kB / 0.5238 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.1363, allocations: 342.8 kB / 0.5241 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1365, allocations: 79.92 kB / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.1368, allocations: 129 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.1374, allocations: 217.2 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1374, allocations: 4 kB / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006436/0.138, allocations: 265.2 kB / 0.5248 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.138, allocations: 13.03 kB / 0.5248 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.28e-05/0.1381, allocations: 8 kB / 0.5248 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.1381, allocations: 8.141 kB / 0.5248 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1383, allocations: 31.97 kB / 0.5248 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1383, allocations: 4 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1385, allocations: 31.86 kB / 0.5249 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1386, allocations: 8 kB / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001826/0.1387, allocations: 153.7 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.1388, allocations: 23.8 kB / 0.5251 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.1394, allocations: 231.3 kB / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1394, allocations: 0 / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1394, allocations: 4 kB / 0.5253 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1394, allocations: 0 / 0.5253 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1398, allocations: 232.5 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/0.1398, allocations: 15.94 kB / 0.5255 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.14, allocations: 31.97 kB / 0.5256 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.14, allocations: 3.938 kB / 0.5256 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.14, allocations: 8.094 kB / 0.5256 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.14, allocations: 7.938 kB / 0.5256 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.14, allocations: 0 / 0.5256 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.1408, allocations: 485.7 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.1408, allocations: 23.8 kB / 0.5261 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1408, allocations: 0 / 0.5261 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.1411, allocations: 23.97 kB / 0.5261 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.1412, allocations: 11.92 kB / 0.5261 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1412, allocations: 11.98 kB / 0.5261 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.1414, allocations: 201.2 kB / 0.5263 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1414, allocations: 4 kB / 0.5263 GB, free: 12.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.1418, allocations: 79.77 kB / 0.5264 GB, free: 12.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001147/0.143, allocations: 1.074 MB / 0.5274 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.1436, allocations: 272.9 kB / 0.5277 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1436, allocations: 0 / 0.5277 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.144, allocations: 185.3 kB / 0.5279 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.1445, allocations: 44.64 kB / 0.5279 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.1486, allocations: 2.98 MB / 0.5308 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.149, allocations: 0.7671 MB / 0.5316 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1491, allocations: 37.61 kB / 0.5316 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1492, allocations: 63.41 kB / 0.5317 GB, free: 6.832 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1492, allocations: 4 kB / 0.5317 GB, free: 6.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03387/0.1831, allocations: 6.715 MB / 0.5382 GB, free: 116 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.04, allocations: 9.047 kB / 0.5382 GB, free: 108 kB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mflow_test in file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.199265246046707]