Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001331, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 80.47 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1234, allocations: 62.45 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003254/0.1267, allocations: 1.916 MB / 482.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1286, allocations: 1.16 MB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1287, allocations: 8 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.129, allocations: 47.69 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.1292, allocations: 67.53 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.1299, allocations: 175.3 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.1303, allocations: 231 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.1304, allocations: 25.67 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.1307, allocations: 95.5 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1309, allocations: 103.5 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.131, allocations: 8 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.1315, allocations: 251.6 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1316, allocations: 55.75 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1318, allocations: 87.47 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.1323, allocations: 335.1 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1323, allocations: 0 / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1323, allocations: 0 / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1323, allocations: 8 kB / 484.7 MB, free: 0.6094 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001185/0.1335, allocations: 0.5491 MB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1336, allocations: 12.03 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.471e-05/0.1337, allocations: 46.73 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/0.1341, allocations: 64.61 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1345, allocations: 244.5 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1345, allocations: 8.375 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1345, allocations: 23.92 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.1351, allocations: 281.6 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1351, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1351, allocations: 8 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.1352, allocations: 8 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005609/0.1357, allocations: 227.5 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.1368, allocations: 0.7695 MB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.1374, allocations: 227.7 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.1377, allocations: 98.5 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.1378, allocations: 0 / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1378, allocations: 46.52 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.775e-06/0.1378, allocations: 7.984 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009788/0.1388, allocations: 309.1 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1389, allocations: 103.1 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.1392, allocations: 290.4 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1392, allocations: 25.7 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1393, allocations: 144 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.1394, allocations: 55.28 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.1395, allocations: 33.7 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1396, allocations: 334.8 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.1398, allocations: 87.91 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.1401, allocations: 125.1 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.1407, allocations: 216.9 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1407, allocations: 3.938 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006398/0.1413, allocations: 261.1 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1413, allocations: 7.938 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.1414, allocations: 12 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1414, allocations: 4 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.1416, allocations: 32.12 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1416, allocations: 7.984 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1418, allocations: 35.77 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1419, allocations: 4 kB / 489.3 MB, free: 11.64 MB / 366.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.0001464/0.142, allocations: 153.9 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.1421, allocations: 31.66 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.1426, allocations: 223.1 kB / 489.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1426, allocations: 4 kB / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1426, allocations: 0 / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1426, allocations: 3.984 kB / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.1431, allocations: 265.4 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/0.1431, allocations: 12 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1433, allocations: 27.97 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1433, allocations: 3.938 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.1433, allocations: 8 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1433, allocations: 4 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1433, allocations: 0 / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.144, allocations: 485.6 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.1441, allocations: 104.8 kB / 490.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.1441, allocations: 7.938 kB / 490.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.1444, allocations: 15.98 kB / 490.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.1445, allocations: 11.98 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1445, allocations: 8 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.1447, allocations: 205.9 kB / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1447, allocations: 0 / 490.9 MB, free: 10 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.1451, allocations: 79.94 kB / 491 MB, free: 9.922 MB / 366.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.001157/0.1463, allocations: 1.066 MB / 492 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.147, allocations: 292.8 kB / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.147, allocations: 0 / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.1473, allocations: 185.5 kB / 492.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1479, allocations: 45.19 kB / 492.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.1519, allocations: 2.977 MB / 495.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.1523, allocations: 0.7632 MB / 496.3 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1524, allocations: 37.52 kB / 496.3 MB, free: 4.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.1525, allocations: 59.42 kB / 496.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1525, allocations: 0 / 496.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.179, allocations: 6.533 MB / 0.4911 GB, free: 13.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/7.974, allocations: 19.41 kB / 0.4911 GB, free: 13.92 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches