Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 117.6 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 44.91 MB / 349.6 MB, free: 1.754 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_evenGapTurbulent,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.97 kB / 491.8 MB, free: 29.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1182, allocations: 64.26 MB / 0.543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003395/0.1216, allocations: 1.907 MB / 0.5449 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.1234, allocations: 1.098 MB / 0.546 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1235, allocations: 0 / 0.546 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1238, allocations: 47.69 kB / 0.546 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.124, allocations: 67.59 kB / 0.5461 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.1245, allocations: 177.2 kB / 0.5462 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.1248, allocations: 227 kB / 0.5465 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.1248, allocations: 9.969 kB / 0.5465 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.125, allocations: 87.56 kB / 0.5465 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1251, allocations: 107.5 kB / 0.5466 GB, free: 400 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1251, allocations: 8 kB / 0.5467 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.1255, allocations: 243.6 kB / 0.5469 GB, free: 148 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.1256, allocations: 63.69 kB / 0.547 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.1257, allocations: 83.48 kB / 0.547 GB, free: 0 / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.1262, allocations: 330.7 kB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1262, allocations: 0 / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1262, allocations: 0 / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1262, allocations: 0 / 0.5473 GB, free: 15.67 MB / 414.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.001079/0.1273, allocations: 0.5527 MB / 0.5479 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1273, allocations: 16.03 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.1274, allocations: 46.73 kB / 0.5479 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.1274, allocations: 24.8 kB / 0.548 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1277, allocations: 235.9 kB / 0.5482 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1277, allocations: 12.38 kB / 0.5482 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1277, allocations: 15.94 kB / 0.5482 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.1283, allocations: 280.5 kB / 0.5485 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1283, allocations: 0 / 0.5485 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1283, allocations: 4 kB / 0.5485 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.1283, allocations: 15.75 kB / 0.5485 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.1289, allocations: 224.3 kB / 0.5487 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.13, allocations: 0.7659 MB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.1306, allocations: 227.7 kB / 0.5497 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1308, allocations: 98.44 kB / 0.5498 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.1308, allocations: 4 kB / 0.5498 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.1309, allocations: 46.53 kB / 0.5498 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.1309, allocations: 0 / 0.5498 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009109/0.1318, allocations: 313.3 kB / 0.5501 GB, free: 12.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.1319, allocations: 111.1 kB / 0.5502 GB, free: 12.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1322, allocations: 274.6 kB / 0.5505 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1322, allocations: 29.7 kB / 0.5505 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1323, allocations: 143.9 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1323, allocations: 47.59 kB / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.1324, allocations: 41.7 kB / 0.5507 GB, free: 11.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1326, allocations: 330.8 kB / 0.5511 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.1328, allocations: 83.92 kB / 0.5511 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.1331, allocations: 121.1 kB / 0.5513 GB, free: 11.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.1336, allocations: 220.9 kB / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1336, allocations: 0 / 0.5515 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006299/0.1342, allocations: 269.1 kB / 0.5517 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1342, allocations: 11.92 kB / 0.5517 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.1343, allocations: 12 kB / 0.5517 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1343, allocations: 4 kB / 0.5518 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.1345, allocations: 32.12 kB / 0.5518 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1345, allocations: 4 kB / 0.5518 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1347, allocations: 43.75 kB / 0.5518 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1347, allocations: 4 kB / 0.5518 GB, free: 10.75 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.0001524/0.1348, allocations: 145.8 kB / 0.552 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.1349, allocations: 27.8 kB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.1354, allocations: 223.6 kB / 0.5522 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1354, allocations: 4 kB / 0.5522 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1354, allocations: 3.938 kB / 0.5522 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1354, allocations: 0 / 0.5522 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1359, allocations: 273.4 kB / 0.5525 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/0.1359, allocations: 15.92 kB / 0.5525 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.136, allocations: 27.97 kB / 0.5525 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.136, allocations: 11.92 kB / 0.5525 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1361, allocations: 4 kB / 0.5525 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1361, allocations: 4 kB / 0.5525 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1361, allocations: 96 / 0.5525 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.1367, allocations: 485.7 kB / 0.553 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.1368, allocations: 100.9 kB / 0.5531 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.1369, allocations: 8 kB / 0.5531 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.1371, allocations: 15.97 kB / 0.5531 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.1372, allocations: 15.98 kB / 0.5531 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1372, allocations: 8 kB / 0.5531 GB, free: 9.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.1374, allocations: 201.9 kB / 0.5533 GB, free: 9.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1374, allocations: 0 / 0.5533 GB, free: 9.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.1378, allocations: 83.8 kB / 0.5534 GB, free: 9.02 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.001136/0.1389, allocations: 1.07 MB / 0.5545 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.1396, allocations: 276.8 kB / 0.5547 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1396, allocations: 3.938 kB / 0.5547 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.1399, allocations: 173.4 kB / 0.5549 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.1404, allocations: 48.91 kB / 0.5549 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.1444, allocations: 2.966 MB / 0.5578 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1448, allocations: 0.7554 MB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1449, allocations: 41.5 kB / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.145, allocations: 59.42 kB / 0.5587 GB, free: 3.434 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.145, allocations: 0 / 0.5587 GB, free: 3.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.1734, allocations: 6.574 MB / 0.5651 GB, free: 13.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.362, allocations: 12.39 kB / 0.5651 GB, free: 13.05 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat. Warning: Get data of variable mflow_test from file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.358808073215187]