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_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001068/0.001068, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001026/0.001026, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.8 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.72 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1137, allocations: 60.82 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.003038/0.1168, allocations: 2.001 MB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1184, allocations: 1.141 MB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.555e-05/0.1184, allocations: 4 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1187, allocations: 59.72 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.1189, allocations: 95.53 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1193, allocations: 130.3 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004851/0.1198, allocations: 0.5835 MB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.1199, allocations: 57.02 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.12, allocations: 151.1 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1202, allocations: 203 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.1203, allocations: 12 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.1207, allocations: 271.5 kB / 473.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.1208, allocations: 95.52 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.121, allocations: 178.8 kB / 473.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006399/0.1216, allocations: 0.5606 MB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1216, allocations: 0 / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1216, allocations: 0 / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1216, allocations: 4 kB / 474.2 MB, free: 9.168 MB / 350.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.001089/0.1227, allocations: 0.7219 MB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1228, allocations: 8.031 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1229, allocations: 98.7 kB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.123, allocations: 44.38 kB / 475 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1233, allocations: 298.1 kB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.1234, allocations: 37.69 kB / 475.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.1234, allocations: 55.92 kB / 475.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.1243, allocations: 0.635 MB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1243, allocations: 4 kB / 476.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.1244, allocations: 16 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/0.1244, allocations: 45.17 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.1252, allocations: 0.5047 MB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1274, allocations: 1.422 MB / 478 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.1281, allocations: 436 kB / 478.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1284, allocations: 136.8 kB / 478.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.1284, allocations: 19.92 kB / 478.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1285, allocations: 30.56 kB / 478.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.1285, allocations: 7.938 kB / 478.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001028/0.1295, allocations: 0.5013 MB / 479.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.1296, allocations: 55.41 kB / 479.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.1303, allocations: 0.5446 MB / 479.8 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1303, allocations: 33.7 kB / 479.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1305, allocations: 224 kB / 480 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.23e-05/0.1306, allocations: 86.8 kB / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.1307, allocations: 89.92 kB / 480.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1309, allocations: 362.7 kB / 480.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.1312, allocations: 156.2 kB / 480.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.1315, allocations: 253.7 kB / 480.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.1354, allocations: 1.053 MB / 482 MB, free: 1.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1355, allocations: 0 / 482 MB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008397/0.1363, allocations: 0.4966 MB / 482.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1363, allocations: 8 kB / 482.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.513e-05/0.1364, allocations: 39.98 kB / 482.5 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.1364, allocations: 8.406 kB / 482.5 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1366, allocations: 47.84 kB / 482.6 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1367, allocations: 8 kB / 482.6 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.1369, allocations: 55.31 kB / 482.6 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.137, allocations: 27.97 kB / 482.7 MB, free: 344 kB / 350.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.0002992/0.1373, allocations: 225.6 kB / 482.9 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.1373, allocations: 43.44 kB / 482.9 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009818/0.1383, allocations: 0.54 MB / 483.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1384, allocations: 4 kB / 483.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.1384, allocations: 4 kB / 483.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1384, allocations: 7.922 kB / 483.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.1389, allocations: 425.2 kB / 483.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.695e-05/0.139, allocations: 39.98 kB / 483.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1392, allocations: 23.98 kB / 484 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1392, allocations: 8 kB / 484 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.1392, allocations: 12 kB / 484 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1393, allocations: 0 / 484 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1393, allocations: 0 / 484 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.1403, allocations: 0.7139 MB / 484.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1404, allocations: 120.6 kB / 484.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.1405, allocations: 12 kB / 484.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1407, allocations: 7.984 kB / 484.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.1408, allocations: 28.05 kB / 484.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.1408, allocations: 15.98 kB / 484.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004162/0.1412, allocations: 403 kB / 485.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1412, allocations: 0 / 485.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.1417, allocations: 143.8 kB / 485.4 MB, free: 13.49 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.001559/0.1433, allocations: 1.315 MB / 486.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008539/0.1441, allocations: 0.6763 MB / 487.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1442, allocations: 0 / 487.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.1446, allocations: 484.2 kB / 487.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.1451, allocations: 89.84 kB / 488 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.1521, allocations: 5.582 MB / 493.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.1526, allocations: 0.8822 MB / 494.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.1529, allocations: 116.2 kB / 494.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.1531, allocations: 143.4 kB / 494.7 MB, free: 3.859 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1531, allocations: 0 / 494.7 MB, free: 3.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.1789, allocations: 12.28 MB / 0.4951 GB, free: 7.812 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.1791, allocations: 249.6 kB / 0.4953 GB, free: 7.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.329, allocations: 3.234 kB / 0.4953 GB, free: 7.555 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches