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_KC.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.001258/0.001258, allocations: 116 kB / 18.5 MB, free: 4.543 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.001273/0.001273, allocations: 189.9 kB / 21.44 MB, free: 1.605 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.375/1.375, allocations: 225.6 MB / 249.8 MB, free: 3.598 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.2095/0.2095, allocations: 44.91 MB / 349.6 MB, free: 1.723 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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 68.2 kB / 491.8 MB, free: 29.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1182, allocations: 64.26 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00322/0.1214, allocations: 1.785 MB / 0.5448 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1227, allocations: 0.7906 MB / 0.5455 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.1227, allocations: 4 kB / 0.5455 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.123, allocations: 47.73 kB / 0.5456 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.1232, allocations: 67.66 kB / 0.5457 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1235, allocations: 85.69 kB / 0.5457 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.1237, allocations: 147.3 kB / 0.5459 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.1237, allocations: 13.11 kB / 0.5459 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1239, allocations: 63.69 kB / 0.546 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.124, allocations: 79.67 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.124, allocations: 4 kB / 0.546 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.1243, allocations: 159.7 kB / 0.5462 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.1244, allocations: 43.83 kB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.1244, allocations: 59.59 kB / 0.5463 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.1247, allocations: 199.4 kB / 0.5465 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1247, allocations: 0 / 0.5465 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1247, allocations: 0 / 0.5465 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1248, allocations: 0 / 0.5465 GB, free: 0.5469 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007227/0.1255, allocations: 450.7 kB / 0.5469 GB, free: 60 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1255, allocations: 16.02 kB / 0.5469 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.477e-05/0.1256, allocations: 38.83 kB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1256, allocations: 16.84 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1259, allocations: 208.1 kB / 0.5472 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1259, allocations: 4.375 kB / 0.5472 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1259, allocations: 15.84 kB / 0.5472 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1263, allocations: 165.6 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1263, allocations: 4 kB / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1263, allocations: 0 / 0.5473 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.1263, allocations: 19.98 kB / 0.5474 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.1267, allocations: 167.8 kB / 0.5475 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008082/0.1275, allocations: 492.2 kB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1279, allocations: 146.5 kB / 0.5481 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.128, allocations: 56.81 kB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.128, allocations: 15.98 kB / 0.5482 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1281, allocations: 34.56 kB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1281, allocations: 0 / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000528/0.1286, allocations: 197.4 kB / 0.5484 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1286, allocations: 55.78 kB / 0.5485 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1288, allocations: 203.4 kB / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1289, allocations: 25.7 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.1289, allocations: 112.1 kB / 0.5488 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.129, allocations: 35.67 kB / 0.5488 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.129, allocations: 29.72 kB / 0.5489 GB, free: 13.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1292, allocations: 326.8 kB / 0.5492 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1293, allocations: 55.94 kB / 0.5492 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1294, allocations: 66.53 kB / 0.5493 GB, free: 13.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1297, allocations: 134.4 kB / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1297, allocations: 0 / 0.5494 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003577/0.1301, allocations: 173.4 kB / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1301, allocations: 4 kB / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1301, allocations: 0 / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1301, allocations: 4 kB / 0.5496 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.1304, allocations: 43.97 kB / 0.5496 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008178/0.1312, allocations: 1.223 MB / 0.5508 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1313, allocations: 19.92 kB / 0.5509 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1313, allocations: 7.984 kB / 0.5509 GB, free: 11.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.1315, allocations: 125.8 kB / 0.551 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.1316, allocations: 24.03 kB / 0.551 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.132, allocations: 194.9 kB / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.132, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.132, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.132, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.1323, allocations: 221.5 kB / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1323, allocations: 7.922 kB / 0.5514 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.1325, allocations: 39.98 kB / 0.5514 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1325, allocations: 4 kB / 0.5515 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1326, allocations: 4 kB / 0.5515 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007861/0.1333, allocations: 1.219 MB / 0.5526 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1333, allocations: 0 / 0.5526 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.1337, allocations: 259.5 kB / 0.5529 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.1338, allocations: 93 kB / 0.553 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1339, allocations: 3.938 kB / 0.553 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.134, allocations: 8 kB / 0.553 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.134, allocations: 7.984 kB / 0.553 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1341, allocations: 8 kB / 0.553 GB, free: 9.395 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1342, allocations: 161.1 kB / 0.5532 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1342, allocations: 0 / 0.5532 GB, free: 9.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.1345, allocations: 35.94 kB / 0.5532 GB, free: 9.203 MB / 414.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009114/0.1354, allocations: 0.8214 MB / 0.554 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.136, allocations: 143.8 kB / 0.5541 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.136, allocations: 128 / 0.5541 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.1362, allocations: 91.86 kB / 0.5542 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.1366, allocations: 24.48 kB / 0.5542 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.1395, allocations: 2.151 MB / 0.5563 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1399, allocations: 0.7318 MB / 0.5571 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.14, allocations: 37.05 kB / 0.5571 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.1401, allocations: 39.42 kB / 0.5571 GB, free: 5.023 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1401, allocations: 0 / 0.5571 GB, free: 5.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.1675, allocations: 4.663 MB / 0.5617 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.87, allocations: 7.438 kB / 0.5617 GB, free: 0.6016 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_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_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.839095333591104]